From 6e2c976bb7aa379e6944d5913d63449cfee20e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 17 Apr 2017 18:08:42 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/view/config.index.html | 2 +- application/common.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/application/admin/view/config.index.html b/application/admin/view/config.index.html index 70f76442a..b7e81cc04 100644 --- a/application/admin/view/config.index.html +++ b/application/admin/view/config.index.html @@ -96,7 +96,7 @@
- 上传图片 + 上传图片
建议LOGO图片的尺寸为160x56px,此LOGO图片用于后台登陆页面。 diff --git a/application/common.php b/application/common.php index 84957caea..29601c62c 100644 --- a/application/common.php +++ b/application/common.php @@ -14,9 +14,8 @@ use app\admin\model\NodeModel; -use think\Config; -use think\Db; use Wechat\Loader; +use think\Db; /** * 打印输出数据到文件 @@ -50,7 +49,6 @@ function & load_wechat($type = '') { 'ssl_key' => sysconf('wechat_cert_key'), 'cachepath' => CACHE_PATH . 'wxpay' . DS, ]; - $config['cachepath'] = CACHE_PATH . 'wechat' . DS; $wechat[$index] = &Loader::get($type, $config); } return $wechat[$index];