我可能有点困惑,可能需要你的帮助。我在里面inc/newsletter.php
,想要包含一个里面的库lib/mailchimp-api-class
我如何引用这个类文件?
我觉得应该是……</p>
require_once '../lib/mailchimp-api-class/MCAPI.class.php';
但是,这不起作用……</p>
Warning: require_once(../lib/mailchimp-api-class/MCAPI.class.php) [function.require-
once]: failed to open stream: No such file or directory in /Users/myname/htdocs/wr/
wp-content/themes/mytheme/inc/newsletter.php on line 6