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

@@ -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');