Skip to content
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

プラグインや決済モジュールで *_Ex ファイルを require している問題 #684

Open
nanasess opened this issue Feb 21, 2023 · 3 comments

Comments

@nanasess
Copy link
Contributor

関連 #526

EC-CUBE 2.13.x まで *_Ex ファイルは明示的に require にて読み込む必要があったが、 2.17.0 からは composer の自動ローディングの対象となったため、 require は不要になった。
しかし、 下位互換のため、明示的に require を記述しているプラグインや決済モジュールが多く存在する。

#526 にて、*_Ex ファイルが存在しない場合は、自動的にエイリアスを生成することで、 class_extends 以下の空の *_Ex ファイルは不要になった。

決済モジュールやプラグイン、 user_data 以下の PHP で明示的に require されている以下のクラスは class_extends 配下に残してあるが、この他に互換性維持のため、残しておいた方が良さそうな *_Ex クラスがあればコメントお願いいたします。

@nanasess
Copy link
Contributor Author

AmazonPay v2 で require している
data/class_extends/page_extends/shopping/LC_Page_Shopping_Payment_Ex.php

@nanasess
Copy link
Contributor Author

クロネコヤマトで require している
data/class_extends/page_extends/shopping/LC_Page_Shopping_LoadPaymentModule_Ex.php

@bbkids
Copy link
Contributor

bbkids commented Mar 21, 2023

ASJペイメントの決済モジュールでも require しています。
data/class_extends/page_extends/shopping/LC_Page_Shopping_LoadPaymentModule_Ex.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants