set_include_path有问题啊
Warning: require_once(cate.inc.php): failed to open stream: No such file or directory in D:\phpStudy\WWW\Shop\include.php on line 16 Fatal error: require_once(): Failed opening required 'cate.inc.php' (include_path='.;D:\phpStudy\WWW\Shop/lib;D:\phpStudy\WWW\Shop/core;.;C:\php\pear') inD:\phpStudy\WWW\Shop\include.php on line 16
define("ROOT",dirname(__FILE__)); set_include_path(".".PATH_SEPARATOR.ROOT."/lib".PATH_SEPARATOR.ROOT."/core".PATH_SEPARATOR.ROOT."/configs".PATH_SEPARATOR.get_include_path()); require_once 'mysql.func.php'; require_once 'image.func.php'; require_once 'common.func.php'; require_once 'string.func.php'; require_once 'page.func.php'; require_once 'configs.php'; require_once 'admin.inc.php'; require_once 'cate.inc.php'; require_once 'core.pro.inc.php'; require_once 'album.inc.php'; require_once 'upload.func.php'; require_once 'user.inc.php';
感觉set_include_path 这句包含的路径有问题,怎么改啊