入口文件修复

This commit is contained in:
sugar1569 2018-10-24 10:11:58 +08:00
parent f50f6fa55b
commit 2c4aae1c91
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ return [
'{__PLUG_PATH}'=>PUBILC_PATH.'/static/plug/',
'{__MODULE_PATH}'=>PUBILC_PATH.'/system/module/',
'{__STATIC_PATH}'=>PUBILC_PATH.'/static/',
'{__PUBLIC_PATH}'=>PUBILC_PATH.'/',
'{__PUBLIC_PATH}'=>PUBILC_PATH,
'{__WAP_PATH}'=>PUBILC_PATH.'/wap/first/'
],
// 默认跳转页面对应的模板文件

View File

@ -24,7 +24,7 @@ if(file_exists("./install/") && !file_exists("./install/install.lock")){
// 定义应用目录
define('APP_PATH', __DIR__ . '/../application/');
//静态文件目录
define('PUBILC_PATH', '');
define('PUBILC_PATH', '/');
//上传文件目录
define('UPLOAD_PATH', 'public/uploads');
// 加载框架引导文件