summaryrefslogtreecommitdiff
path: root/buildscripts/phing
diff options
context:
space:
mode:
authorxue <>2006-07-04 23:25:41 +0000
committerxue <>2006-07-04 23:25:41 +0000
commit9cc6b7fffd31f4b9ee9aceef9224c84dcf28aeb8 (patch)
treed3d6d907278b06feef3fc77c14d2231cfbff1125 /buildscripts/phing
parent2cf86eb80ae66da86eb2e37f0f99b2035241d3ae (diff)
Merge from 3.0 branch till 1239.
Diffstat (limited to 'buildscripts/phing')
-rw-r--r--buildscripts/phing/bin/phing.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildscripts/phing/bin/phing.php b/buildscripts/phing/bin/phing.php
index 880adf41..7d0a774a 100644
--- a/buildscripts/phing/bin/phing.php
+++ b/buildscripts/phing/bin/phing.php
@@ -13,6 +13,7 @@
ini_set('track_errors', 1);
/* set classpath */
+/*
if (getenv('PHP_CLASSPATH')) {
// define('PHP_CLASSPATH', getenv('PHP_CLASSPATH') . PATH_SEPARATOR . get_include_path());
define('PHP_CLASSPATH', realpath(dirname(__FILE__).'/../classes') . PATH_SEPARATOR . get_include_path());
@@ -20,6 +21,9 @@ if (getenv('PHP_CLASSPATH')) {
} else {
define('PHP_CLASSPATH', get_include_path());
}
+*/
+define('PHP_CLASSPATH', realpath(dirname(__FILE__).'/../classes') . PATH_SEPARATOR . get_include_path());
+ini_set('include_path', PHP_CLASSPATH);
require_once 'phing/Phing.php';