|
|
@ -1358,7 +1358,17 @@ class MemberController extends ThinkController
|
|
|
|
} elseif ($name == 'CACHE_TYPE_HOST' || $name == 'CACHE_TYPE_TIME') {
|
|
|
|
} elseif ($name == 'CACHE_TYPE_HOST' || $name == 'CACHE_TYPE_TIME') {
|
|
|
|
$this->set_config($name, $value);
|
|
|
|
$this->set_config($name, $value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$Config->where($map)->setField('value', $value);
|
|
|
|
|
|
|
|
|
|
|
|
$res = $Config->where($map)->setField('value', $value);
|
|
|
|
|
|
|
|
if($res >0){
|
|
|
|
|
|
|
|
//操作日志
|
|
|
|
|
|
|
|
addOperationLog(array(
|
|
|
|
|
|
|
|
"op_type"=>1,
|
|
|
|
|
|
|
|
"key"=>$name,
|
|
|
|
|
|
|
|
"url"=>U("Member/blockconfig")
|
|
|
|
|
|
|
|
));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
S('DB_CONFIG_DATA', null);
|
|
|
|
S('DB_CONFIG_DATA', null);
|
|
|
|