Merged in mcuiza/processmaker/correccion_incidencias (pull request #1918)
correccion de incidencias veracode
This commit is contained in:
3
gulliver/thirdparty/phing/Phing.php
vendored
3
gulliver/thirdparty/phing/Phing.php
vendored
@@ -856,7 +856,8 @@ class Phing {
|
|||||||
if (self::getMsgOutputLevel() === PROJECT_MSG_DEBUG) {
|
if (self::getMsgOutputLevel() === PROJECT_MSG_DEBUG) {
|
||||||
print("Phing::import() prepending new include_path components: " . implode(PATH_SEPARATOR, $new_parts) . "\n");
|
print("Phing::import() prepending new include_path components: " . implode(PATH_SEPARATOR, $new_parts) . "\n");
|
||||||
}
|
}
|
||||||
if (is_dir(implode(PATH_SEPARATOR, array_merge($new_parts, $curr_parts)))) {
|
$firstPath = explode(":", implode(PATH_SEPARATOR, array_merge($new_parts, $curr_parts)));
|
||||||
|
if (is_dir($firstPath[0])) {
|
||||||
ini_set('include_path', implode(PATH_SEPARATOR, array_merge($new_parts, $curr_parts)));
|
ini_set('include_path', implode(PATH_SEPARATOR, array_merge($new_parts, $curr_parts)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user