Files
luos/workflow/engine/methods/setup/auditLogConfig.php

13 lines
397 B
PHP
Raw Normal View History

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