database-upgrade

.
This commit is contained in:
Paula V. Quispe
2016-08-18 12:21:29 -04:00
parent 3ef9f577e8
commit fc92f308ed
7 changed files with 34 additions and 21 deletions

View File

@@ -3,13 +3,10 @@
global $RBAC;
$RBAC->requirePermissions( 'PM_SETUP' );
$oHeadPublisher = & headPublisher::getSingleton();
G::LoadClass( 'serverConfiguration' );
$conf = new Configurations();
$sflag = $conf->getConfiguration('AUDIT_LOG', 'log');
$oServerConf = & serverConf::getSingleton();
$sflag = $oServerConf->getAuditLogProperty( 'AL_OPTION', SYS_SYS );
$auditLogChecked = $sflag == 1 ? true : false;
$auditLogChecked = $sflag == 'true' ? true : false;
$oHeadPublisher->addExtJsScript( 'setup/auditLogConfig', true ); //adding a javascript file .js
$oHeadPublisher->assign( 'auditLogChecked', $auditLogChecked );