diff --git a/think b/think index 0169111ba..8afa938af 100644 --- a/think +++ b/think @@ -11,7 +11,7 @@ // +---------------------------------------------------------------------- // 定义项目路径 -define('APP_PATH', './application/'); +define('APP_PATH', __DIR__ . '/application/'); // 加载框架引导文件 require './thinkphp/console.php'; \ No newline at end of file