This commit is contained in:
Marco Antonio Nina Mena
2017-12-04 13:25:35 +00:00
committed by Julio Cesar Laura Avendaño
parent abe71a6ffe
commit 0d533e19d9
363 changed files with 23948 additions and 44623 deletions

View File

@@ -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;
}