修复 验证码更新问题
This commit is contained in:
parent
5174f32834
commit
2a05c8f83d
|
@ -425,8 +425,8 @@ if($_GET['step'] == 'start') {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($settings['thumbsource']) && !$settings['sourcewidth'] && !$settings['sourceheight']) {
|
if(isset($settings['thumbsource']) && !$settings['sourcewidth'] && !$settings['sourceheight']) {
|
||||||
$newsettings['sourcewidth'] = $setting['thumbwidth'];
|
$newsettings['sourcewidth'] = $settings['thumbwidth'];
|
||||||
$newsettings['sourceheight'] = $setting['thumbheight'];
|
$newsettings['sourceheight'] = $settings['thumbheight'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if(empty($settings['my_siteid']) && !empty($settings['connectsiteid'])) {
|
if(empty($settings['my_siteid']) && !empty($settings['connectsiteid'])) {
|
||||||
|
@ -752,7 +752,7 @@ if($_GET['step'] == 'start') {
|
||||||
$newsettings['seccodestatus'] = $seccodecheck;
|
$newsettings['seccodestatus'] = $seccodecheck;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$seccodedata = dunserialize($setting['seccodedata']);
|
$seccodedata = dunserialize($settings['seccodedata']);
|
||||||
if(!$seccodedata['rule']) {
|
if(!$seccodedata['rule']) {
|
||||||
$seccodestatuss = sprintf('%05b', $seccodecheck);
|
$seccodestatuss = sprintf('%05b', $seccodecheck);
|
||||||
$seccodedata['rule']['register']['allow'] = $seccodestatuss{4};
|
$seccodedata['rule']['register']['allow'] = $seccodestatuss{4};
|
||||||
|
@ -760,6 +760,7 @@ if($_GET['step'] == 'start') {
|
||||||
$seccodedata['rule']['post']['allow'] = $seccodestatuss{2};
|
$seccodedata['rule']['post']['allow'] = $seccodestatuss{2};
|
||||||
$seccodedata['rule']['password']['allow'] = $seccodestatuss{1};
|
$seccodedata['rule']['password']['allow'] = $seccodestatuss{1};
|
||||||
$seccodedata['rule']['card']['allow'] = $seccodestatuss{0};
|
$seccodedata['rule']['card']['allow'] = $seccodestatuss{0};
|
||||||
|
$seccodedata['seccodedata']['type'] = intval($seccodedata['seccodedata']['type']);
|
||||||
$newsettings['seccodedata'] = serialize($seccodedata);
|
$newsettings['seccodedata'] = serialize($seccodedata);
|
||||||
}
|
}
|
||||||
if(!isset($settings['collectionteamworkernum'])) {
|
if(!isset($settings['collectionteamworkernum'])) {
|
||||||
|
@ -1891,20 +1892,6 @@ if($_GET['step'] == 'start') {
|
||||||
show_msg("默认风格已恢复,进入下一步", "$theurl?step=cache");
|
show_msg("默认风格已恢复,进入下一步", "$theurl?step=cache");
|
||||||
|
|
||||||
} elseif ($_GET['step'] == 'cache') {
|
} elseif ($_GET['step'] == 'cache') {
|
||||||
$appService = Cloud::loadClass('Service_App');
|
|
||||||
try {
|
|
||||||
$cloudstatus = $appService->checkCloudStatus();
|
|
||||||
} catch (Exception $e) {
|
|
||||||
}
|
|
||||||
$result = false;
|
|
||||||
if($cloudstatus == 'cloud' && !$appService->getCloudAppStatus('search')) {
|
|
||||||
try{
|
|
||||||
$cloudAppService = Cloud::loadClass('Service_Client_Cloud');
|
|
||||||
$result = $cloudAppService->appOpen();
|
|
||||||
} catch(Exception $e) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if($result == true) {
|
if($result == true) {
|
||||||
$opensoso = '<br><br>友情提示:<br>为更好的降低论坛搜索时的数据压力,本次升级已经帮本站开通纵横搜索服务。<br>你可以在 <a href=\\\'../admin.php?frames=yes&action=cloud&operation=search\\\' target=\\\'_blank\\\'>站点后台->应用->纵横搜索 进行管理</a>。';
|
$opensoso = '<br><br>友情提示:<br>为更好的降低论坛搜索时的数据压力,本次升级已经帮本站开通纵横搜索服务。<br>你可以在 <a href=\\\'../admin.php?frames=yes&action=cloud&operation=search\\\' target=\\\'_blank\\\'>站点后台->应用->纵横搜索 进行管理</a>。';
|
||||||
|
|
Loading…
Reference in New Issue