由于要使用require_once获取BaeFetchUrl.class.php,根据样例使用:
<?php
require_once 'app_config.php';
require_once (BAE_API_PATH . '/BaeFetchUrl.class.php');
?>可是在Action中使用了<?php
namespace Home\Action;
use Think\Action;
?>后就会出现require_once(): Failed opening required 'app_config.php'
的错误,如何解决?谢谢了!
最佳答案