-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
プラグインや決済モジュールの Smarty テンプレートで利用している PHP 関数 #911
Comments
admin/products/product_class_confirm.tpl で array_key_exists が使われてます。 |
empty や is_array は登録なしで利用できているようなのですがどうしてなのでしょう? file_exists、is_numeric、array_key_exists 等は登録しないと利用できませんが、違いってなんでしょうか? |
@bbkids |
@nanasess なるほど、Smarty側で設定されてるんですね。有難う御座います。 |
Amazon Pay プラグインで以下の関数を使用している
|
ソニーペイメントで使用している
|
ベリトランスで使用している
ペイジェントで使用している
|
refs #876
refs #684
Smarty5 から Smarty テンプレートで PHP 関数を利用する場合、
Smarty::registerPlugin()
を使用して、 modifier の登録が必須となります。https://smarty-php.github.io/smarty/stable/upgrading/#using-native-php-functions-or-userland-functions-in-your-templates
EC-CUBE本体で使用している PHP 関数は以下にて登録済みですが、互換性維持のため、プラグインや決済モジュールの Smarty テンプレートで利用している PHP 関数があればコメントにてお知らせください
ec-cube2/data/class/SC_View.php
Lines 61 to 65 in 13a6dac
The text was updated successfully, but these errors were encountered: