Merged in victorsl/processmaker/HOR-722-31 (pull request #4587)

HOR-722
This commit is contained in:
Julio Cesar Laura Avendaño
2016-07-19 14:52:41 -04:00
11 changed files with 50 additions and 42 deletions

View File

@@ -188,9 +188,7 @@ class Trigger
//Check disabled code
\G::LoadClass("codeScanner");
$arraySystemConfiguration = \System::getSystemConfiguration(PATH_CONFIG . "env.ini");
$cs = new \CodeScanner((isset($arraySystemConfiguration["enable_blacklist"]) && (int)($arraySystemConfiguration["enable_blacklist"]) == 1)? "DISABLED_CODE" : "");
$cs = new \CodeScanner(SYS_SYS);
$arrayFoundDisabledCode = $cs->checkDisabledCode("SOURCE", $dataTrigger["TRI_WEBBOT"]);