Remove loads in WebApplication and sysGeneric
This commit is contained in:
@@ -445,10 +445,6 @@ class WebApplication
|
||||
define("PATH_CONTROLLERS", PATH_CORE . "controllers" . PATH_SEP);
|
||||
define("PATH_SERVICES_REST", PATH_CORE . "services" . PATH_SEP . "rest" . PATH_SEP);
|
||||
|
||||
\Bootstrap::registerSystemClasses();
|
||||
\Bootstrap::initVendors();
|
||||
\Bootstrap::LoadSystem( 'monologProvider' );
|
||||
|
||||
$arraySystemConfiguration = \PMSystem::getSystemConfiguration();
|
||||
|
||||
ini_set('date.timezone', $arraySystemConfiguration['time_zone']); //Set Time Zone
|
||||
|
||||
@@ -799,7 +799,7 @@ if (substr( SYS_COLLECTION, 0, 8 ) === 'gulliver') {
|
||||
}
|
||||
|
||||
Bootstrap::initVendors();
|
||||
Bootstrap::LoadSystem('monologProvider');
|
||||
|
||||
$isWebEntry = \ProcessMaker\BusinessModel\WebEntry::isWebEntry(SYS_COLLECTION, $phpFile);
|
||||
if (\Bootstrap::getDisablePhpUploadExecution() === 1 && !$isWebEntry) {
|
||||
$message = \G::LoadTranslation('THE_PHP_FILES_EXECUTION_WAS_DISABLED');
|
||||
|
||||
Reference in New Issue
Block a user