feat/task1-c-wallet
parent
6da0bade4f
commit
8147969d03
|
|
@ -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'));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
<div class="am-form-group">
|
||||
<label>{{$data.common_sms_sign.name}}<span class="fs-12 fw-100 cr-999">({{$data.common_sms_sign.describe}})</span></label>
|
||||
<input type="text" name="{{$data.common_sms_sign.only_tag}}" placeholder="{{$data.common_sms_sign.name}}" data-validation-message="{{$data.common_sms_sign.error_tips}}" class="am-radius" minlength="3" maxlength="16" <present name="data"> value="{{$data.common_sms_sign.value}}"</present> />
|
||||
<input type="text" name="{{$data.common_sms_sign.only_tag}}" placeholder="{{$data.common_sms_sign.name}}" data-validation-message="{{$data.common_sms_sign.error_tips}}" class="am-radius" maxlength="16" <present name="data"> value="{{$data.common_sms_sign.value}}"</present> />
|
||||
</div>
|
||||
<div class="am-form-group">
|
||||
<button type="submit" class="am-btn am-btn-primary am-radius btn-loading-example am-btn-sm w100" data-am-loading="{loadingText:'{{:L('common_form_loading_tips')}}'}">{{:L('common_operation_save')}}</button>
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@ return array(
|
|||
// URL模式
|
||||
'URL_MODEL' => 0,
|
||||
|
||||
// false 表示URL区分大小写 true则表示不区分大小写
|
||||
'URL_CASE_INSENSITIVE' => false,
|
||||
|
||||
// 默认语言
|
||||
'DEFAULT_LANG' => 'zh-cn',
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue