Remove loads in WebApplication and sysGeneric

This commit is contained in:
Paula Quispe
2017-08-04 07:03:27 -04:00
parent 0a7c78f8fe
commit cba358b98b
2 changed files with 1 additions and 5 deletions

View File

@@ -445,10 +445,6 @@ class WebApplication
define("PATH_CONTROLLERS", PATH_CORE . "controllers" . PATH_SEP); define("PATH_CONTROLLERS", PATH_CORE . "controllers" . PATH_SEP);
define("PATH_SERVICES_REST", PATH_CORE . "services" . PATH_SEP . "rest" . PATH_SEP); define("PATH_SERVICES_REST", PATH_CORE . "services" . PATH_SEP . "rest" . PATH_SEP);
\Bootstrap::registerSystemClasses();
\Bootstrap::initVendors();
\Bootstrap::LoadSystem( 'monologProvider' );
$arraySystemConfiguration = \PMSystem::getSystemConfiguration(); $arraySystemConfiguration = \PMSystem::getSystemConfiguration();
ini_set('date.timezone', $arraySystemConfiguration['time_zone']); //Set Time Zone ini_set('date.timezone', $arraySystemConfiguration['time_zone']); //Set Time Zone

View File

@@ -799,7 +799,7 @@ if (substr( SYS_COLLECTION, 0, 8 ) === 'gulliver') {
} }
Bootstrap::initVendors(); Bootstrap::initVendors();
Bootstrap::LoadSystem('monologProvider');
$isWebEntry = \ProcessMaker\BusinessModel\WebEntry::isWebEntry(SYS_COLLECTION, $phpFile); $isWebEntry = \ProcessMaker\BusinessModel\WebEntry::isWebEntry(SYS_COLLECTION, $phpFile);
if (\Bootstrap::getDisablePhpUploadExecution() === 1 && !$isWebEntry) { if (\Bootstrap::getDisablePhpUploadExecution() === 1 && !$isWebEntry) {
$message = \G::LoadTranslation('THE_PHP_FILES_EXECUTION_WAS_DISABLED'); $message = \G::LoadTranslation('THE_PHP_FILES_EXECUTION_WAS_DISABLED');