diff --git a/index.php b/index.php index 134411ca..615d71bd 100644 --- a/index.php +++ b/index.php @@ -23,5 +23,7 @@ if(file_exists("./public/install/") && !file_exists("./public/install/install.lo // [ 应用入口文件 ] // 定义应用目录 define('APP_PATH', __DIR__ . '/application/'); +//静态文件目录 +define('PUBILC_PATH', '/public/'); // 加载框架引导文件 require __DIR__ . '/thinkphp/start.php';