修复 漏洞

This commit is contained in:
Comsenz 2017-07-28 15:35:21 +08:00
parent df8cd50a12
commit 8446bd9e89
1 changed files with 1 additions and 1 deletions

View File

@ -2521,7 +2521,7 @@ EOT;
if($operation == 'uc' && is_writeable('./config/config_ucenter.php') && $isfounder) {
require_once './config/config_ucenter.php';
$ucdbpassnew = $settingnew['uc']['dbpass'] == '********' ? addslashes(UC_DBPW) : $settingnew['uc']['dbpass'];
$ucdbpassnew = $settingnew['uc']['dbpass'] == '********' ? addslashes(UC_DBPW) : addslashes($settingnew['uc']['dbpass']);
$settingnew['uc']['key'] = addslashes($settingnew['uc']['key'] == '********' ? addslashes(UC_KEY) : $settingnew['uc']['key']);
if($settingnew['uc']['connect']) {