From 2c4aae1c9169d308fb0fbd4d74f218827d2baa4c Mon Sep 17 00:00:00 2001 From: sugar1569 Date: Wed, 24 Oct 2018 10:11:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=8F=A3=E6=96=87=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/config.php | 2 +- public/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/config.php b/application/config.php index bee7c200..58b32324 100644 --- a/application/config.php +++ b/application/config.php @@ -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/' ], // 默认跳转页面对应的模板文件 diff --git a/public/index.php b/public/index.php index 71f9802b..939c45e6 100644 --- a/public/index.php +++ b/public/index.php @@ -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'); // 加载框架引导文件