是不是在服务器的时候把根目录路径缓存起来了,然后下载到本地的二级目录后依然以为是根目录?
请问怎么解决?
我删除Runtime整个文件夹表示不行。。。
没有错误信息,访问localhost/thinkphp/index.php...直接跳转到了localhost/index.php...
入口文件:
<?php
define('APP_NAME', 'APP');
define('APP_PATH', './APP/');
define('APP_DEBUG', TRUE);
require './ThinkPHP/ThinkPHP.php';
?> 最佳答案