Add namespace Processmaker\Core
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<?php
|
||||
global $RBAC;
|
||||
|
||||
use ProcessMaker\Core\System;
|
||||
|
||||
$RBAC->requirePermissions( 'PM_USERS' );
|
||||
|
||||
//calculating the max upload file size;
|
||||
@@ -20,7 +23,7 @@ if ($postMaxSize < $uploadMaxSize) {
|
||||
$expirationDate = 1;
|
||||
$envFile = PATH_CONFIG . 'env.ini';
|
||||
if (file_exists($envFile) ) {
|
||||
$sysConf = PmSystem::getSystemConfiguration($envFile);
|
||||
$sysConf = System::getSystemConfiguration($envFile);
|
||||
if(isset($sysConf['expiration_year']) && $sysConf['expiration_year']>0){
|
||||
$expirationDate = abs($sysConf['expiration_year']);
|
||||
}
|
||||
@@ -35,7 +38,7 @@ if ($licensedFeatures->verifyfeature('w2LL3o4NFNiaDRXcFFCYVpJS3Jsall5dmh0ZWtBTkd
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
|
||||
$arraySystemConfiguration = PmSystem::getSystemConfiguration('', '', SYS_SYS);
|
||||
$arraySystemConfiguration = System::getSystemConfiguration('', '', SYS_SYS);
|
||||
|
||||
$oHeadPublisher = & headPublisher::getSingleton();
|
||||
$oHeadPublisher->addExtJsScript( 'users/users', true ); //adding a javascript file .js
|
||||
|
||||
Reference in New Issue
Block a user