HOR-4527
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
parent
abe71a6ffe
commit
0d533e19d9
@@ -4,11 +4,11 @@ global $G_TMP_MENU;
|
||||
switch ($_GET['action']) {
|
||||
case 'saveOption':
|
||||
try {
|
||||
$oServerConf = & ServerConf::getSingleton();
|
||||
$oServerConf = ServerConf::getSingleton();
|
||||
$response = new $oServerConf;
|
||||
$conf = new Configurations();
|
||||
/*you can use SYS_TEMP or SYS_SYS ON AUDIT_LOG_CONF to save for each workspace*/
|
||||
if (isset( $_POST['acceptAL'] )) {
|
||||
if (isset($_POST['acceptAL'])) {
|
||||
$conf->aConfig = 'true';
|
||||
$conf->saveConfig('AUDIT_LOG', 'log');
|
||||
$response->enable = true;
|
||||
@@ -24,7 +24,6 @@ switch ($_GET['action']) {
|
||||
$response->success = false;
|
||||
$response->msg = $e->getMessage();
|
||||
}
|
||||
echo G::json_encode( $response );
|
||||
echo G::json_encode($response);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user