我已经下载了这个API。
如果你去 lib/Paypal/Profile/Handler/Array.php 你会发现这一行:
require_once 'PayPal.php';
由于 PayPal.php 文件位于 lib/ 文件夹中,因此我希望是这样的:
require_once '../../../../PayPal.php'
那么...在哪里设置 API 的“根”文件夹是什么?
注意:我的问题是有原因的:我想知道为什么会出现这样的错误:
警告:require_once(PayPal.php):无法打开流:第 9 行的 /home/me/app1/plugins/mbpPlatformFrontendPlugin/lib/paypal/PayPal/Profile/Handler/Array.php 中没有这样的文件或目录
问候
哈维