HOR-2689 Removed instances of LoadSystem, LoadThirdParty
This commit is contained in:
committed by
davidcallizaya
parent
60efcf7ac7
commit
5d3a4c073f
@@ -69,7 +69,7 @@
|
||||
//$e_all = $config['debug'] ? $e_all : $e_all & ~E_NOTICE;
|
||||
//$e_all = E_ALL & ~ E_DEPRECATED & ~ E_STRICT & ~ E_NOTICE & ~E_WARNING;
|
||||
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
$config['display_errors'] = $filter->validateInput($config['display_errors']);
|
||||
$config['error_reporting'] = $filter->validateInput($config['error_reporting']);
|
||||
@@ -249,32 +249,32 @@
|
||||
}
|
||||
|
||||
// Call Gulliver Classes
|
||||
G::LoadThirdParty('smarty/libs','Smarty.class');
|
||||
G::LoadSystem('error');
|
||||
G::LoadSystem('dbconnection');
|
||||
G::LoadSystem('dbsession');
|
||||
G::LoadSystem('dbrecordset');
|
||||
G::LoadSystem('dbtable');
|
||||
G::LoadSystem('rbac' );
|
||||
G::LoadSystem('publisher');
|
||||
G::LoadSystem('templatePower');
|
||||
G::LoadSystem('xmlDocument');
|
||||
G::LoadSystem('xmlform');
|
||||
G::LoadSystem('xmlformExtension');
|
||||
G::LoadSystem('form');
|
||||
G::LoadSystem('menu');
|
||||
G::LoadSystem("xmlMenu");
|
||||
G::LoadSystem('wysiwygEditor');
|
||||
G::LoadSystem('controller');
|
||||
G::LoadSystem('httpProxyController');
|
||||
G::LoadSystem('pmException');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Create headPublisher singleton
|
||||
G::LoadSystem('headPublisher');
|
||||
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
|
||||
//Load filter class
|
||||
G::LoadSystem('inputfilter');
|
||||
|
||||
$filter = new InputFilter();
|
||||
|
||||
// Installer, redirect to install if we don't have a valid shared data folder
|
||||
|
||||
@@ -281,6 +281,12 @@ define( 'PML_WSDL_URL', PML_SERVER . '/syspmLibrary/en/green/services/wsdl' );
|
||||
define( 'PML_UPLOAD_URL', PML_SERVER . '/syspmLibrary/en/green/services/uploadProcess' );
|
||||
define( 'PML_DOWNLOAD_URL', PML_SERVER . '/syspmLibrary/en/green/services/download' );
|
||||
|
||||
//Call Gulliver Classes
|
||||
|
||||
|
||||
//Loading the autoloader libraries feature
|
||||
Bootstrap::registerSystemClasses();
|
||||
|
||||
$config = Bootstrap::getSystemConfiguration();
|
||||
|
||||
// starting session
|
||||
@@ -507,10 +513,10 @@ if (defined( 'PATH_DATA' ) && file_exists( PATH_DATA )) {
|
||||
$pathFile = PATH_THIRDPARTY . '/pear/PEAR.php';
|
||||
require_once $pathFile;
|
||||
|
||||
//Bootstrap::LoadSystem( 'pmException' );
|
||||
|
||||
|
||||
// Create headPublisher singleton
|
||||
//Bootstrap::LoadSystem( 'headPublisher' );
|
||||
|
||||
$oHeadPublisher = & headPublisher::getSingleton();
|
||||
|
||||
// Installer, redirect to install if we don't have a valid shared data folder
|
||||
@@ -819,7 +825,7 @@ if (substr( SYS_COLLECTION, 0, 8 ) === 'gulliver') {
|
||||
|
||||
//erik: verify if it is a Controller Class or httpProxyController Class
|
||||
if (is_file( PATH_CONTROLLERS . SYS_COLLECTION . '.php' )) {
|
||||
Bootstrap::LoadSystem( 'controller' );
|
||||
|
||||
$pathFile = PATH_CONTROLLERS . SYS_COLLECTION . '.php';
|
||||
require_once $pathFile;
|
||||
$controllerClass = SYS_COLLECTION;
|
||||
@@ -889,13 +895,13 @@ if (! $avoidChangedWorkspaceValidation && isset( $_SESSION['WORKSPACE'] ) && $_S
|
||||
}
|
||||
|
||||
// enable rbac
|
||||
Bootstrap::LoadSystem( 'rbac' );
|
||||
|
||||
$RBAC = &RBAC::getSingleton( PATH_DATA, session_id() );
|
||||
$RBAC->sSystem = 'PROCESSMAKER';
|
||||
|
||||
//Enable Monolog
|
||||
Bootstrap::initVendors();
|
||||
Bootstrap::LoadSystem( 'monologProvider' );
|
||||
|
||||
// define and send Headers for all pages
|
||||
if (! defined( 'EXECUTE_BY_CRON' )) {
|
||||
header( "Expires: " . gmdate( "D, d M Y H:i:s", mktime( 0, 0, 0, date( 'm' ), date( 'd' ) - 1, date( 'Y' ) ) ) . " GMT" );
|
||||
|
||||
Reference in New Issue
Block a user