From e1b3e66ff9e7f051767a6d0529713336bbb3cddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20Cesar=20Laura=20Avenda=C3=B1o?= Date: Wed, 10 Aug 2016 17:04:10 -0400 Subject: [PATCH] Fixing Phing class, error introduced with veracode changes --- gulliver/thirdparty/phing/Phing.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gulliver/thirdparty/phing/Phing.php b/gulliver/thirdparty/phing/Phing.php index b5d2de768..cde340012 100644 --- a/gulliver/thirdparty/phing/Phing.php +++ b/gulliver/thirdparty/phing/Phing.php @@ -60,8 +60,6 @@ include_once 'phing/system/util/Register.php'; */ class Phing { - const inclDir = 'include_path'; - /** The default build file name */ const DEFAULT_BUILD_FILENAME = "build.xml"; @@ -860,9 +858,7 @@ class Phing { } $firstPath = explode(":", implode(PATH_SEPARATOR, array_merge($new_parts, $curr_parts))); if (is_dir($firstPath[0])) { - $sPath = implode(PATH_SEPARATOR, array_merge($new_parts, $curr_parts)) - $inclDir = self::inclDir; - ini_set($inclDir, $sPath); + ini_set('include_path', implode(PATH_SEPARATOR, array_merge($new_parts, $curr_parts))); } } }