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',