【发布时间】:2011-08-26 15:44:52
【问题描述】:
我已经下载了这个API。
如果你去 lib/Paypal/Profile/Handler/Array.php 你会发现这一行:
require_once 'PayPal.php';
由于 PayPal.php 文件位于 lib/ 文件夹中,我希望是这样的:
require_once '../../../../PayPal.php'
那么...API的“根”文件夹在哪里设置?
注意:我的问题有一个原因:我想知道为什么会出现这样的错误:
警告: 需要一次(PayPal.php): 无法打开流:没有这样的文件或 目录在 /home/me/app1/plugins/mbpPlatformFrontendPlugin/lib/paypal/PayPal/Profile/Handler/Array.php 在第 9 行
问候
贾维
【问题讨论】:
标签: php require-once