我Index.php代码如下
define('APP_PATH', './app/');
if (file_exists(APP_PATH . 'Runtime/~runtime.php')) {
require_once APP_PATH . 'Runtime/~runtime.php';
} else {
require_once './plugin/ThinkPHP/ThinkPHP.php';
}
使用Runtime/~runtime.php这个就会有报错,直接用 ThinkPHP/ThinkPHP.php就正常
最佳答案
