susuz
2018-05-09 15:30
开发环境:Linux MIPS 我只是将老师的“IMOOC”改成了“LOCUS_WIFI”,其他的什么都没改
错误信息:Warning: include(/core/common/function.php): failed to open stream: No such file or directory in /mnt/locus_wifi/index.php on line 14
Warning: include(): Failed opening '/core/common/function.php' for inclusion (include_path='.:') in /mnt/locus_wifi/index.php on line 14
Fatal error: Call to undefined function p() in /mnt/locus_wifi/index.php on line 15
define('IMOOC',realpath('./'));
define('CORE',IMOOC.'/core');
define('APP',IMOOC.'/app');
define('DEBUG',true );
if(DEBUG){
ini_set('display_error','on');
}else{
ini_set('display_error','off');
}
include CORE.'/common/function.php';
p(IMOOC);
文件引入错误了呀
从零开始打造自己的PHP框架
48187 学习 · 162 问题
相似问题