From 8147969d0356f74b6cdfee5ab3b03facbf8ed99d Mon Sep 17 00:00:00 2001 From: devil_gong Date: Thu, 15 Nov 2018 16:08:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/CacheController.class.php | 16 ++++++---------- .../Admin/View/Default/Sms/Index.html | 2 +- service/Application/Common/Conf/config.php | 3 +++ 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/service/Application/Admin/Controller/CacheController.class.php b/service/Application/Admin/Controller/CacheController.class.php index 4440bbf08..a3b416f65 100755 --- a/service/Application/Admin/Controller/CacheController.class.php +++ b/service/Application/Admin/Controller/CacheController.class.php @@ -52,16 +52,12 @@ class CacheController extends CommonController */ public function SiteUpdate() { - // 后台 - S(C('cache_common_my_config_key'), null); - S(C('cache_common_timezone_key'), null); - S(C('cache_common_home_nav_header_key'), null); - S(C('cache_common_home_nav_footer_key'), null); - S(C('cache_common_default_theme_key'), null); - PowerCacheDelete(); - - // 前台 - S(C('cache_home_channel_key'), null); + DelDirFile(TEMP_PATH); + DelDirFile(DATA_PATH); + if(file_exists(RUNTIME_PATH.'common~runtime.php')) + { + unlink(RUNTIME_PATH.'common~runtime.php'); + } $this->success(L('common_operation_update_success')); } diff --git a/service/Application/Admin/View/Default/Sms/Index.html b/service/Application/Admin/View/Default/Sms/Index.html index f55c16f32..01341bcdd 100755 --- a/service/Application/Admin/View/Default/Sms/Index.html +++ b/service/Application/Admin/View/Default/Sms/Index.html @@ -19,7 +19,7 @@
- value="{{$data.common_sms_sign.value}}" /> + value="{{$data.common_sms_sign.value}}" />
diff --git a/service/Application/Common/Conf/config.php b/service/Application/Common/Conf/config.php index 3942aba78..460e79ee5 100755 --- a/service/Application/Common/Conf/config.php +++ b/service/Application/Common/Conf/config.php @@ -31,6 +31,9 @@ return array( // URL模式 'URL_MODEL' => 0, + // false 表示URL区分大小写 true则表示不区分大小写 + 'URL_CASE_INSENSITIVE' => false, + // 默认语言 'DEFAULT_LANG' => 'zh-cn',