2014-10-07 15:58:46 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
global $RBAC;
|
|
|
|
|
$RBAC->requirePermissions( 'PM_SETUP' );
|
|
|
|
|
|
2016-08-18 12:21:29 -04:00
|
|
|
$conf = new Configurations();
|
|
|
|
|
$sflag = $conf->getConfiguration('AUDIT_LOG', 'log');
|
2014-10-07 15:58:46 -04:00
|
|
|
|
2016-08-18 12:21:29 -04:00
|
|
|
$auditLogChecked = $sflag == 'true' ? true : false;
|
2014-10-07 15:58:46 -04:00
|
|
|
|
|
|
|
|
$oHeadPublisher->addExtJsScript( 'setup/auditLogConfig', true ); //adding a javascript file .js
|
|
|
|
|
$oHeadPublisher->assign( 'auditLogChecked', $auditLogChecked );
|
|
|
|
|
G::RenderPage( 'publish', 'extJs' );
|