summaryrefslogtreecommitdiff
path: root/buildscripts/phing/bin
diff options
context:
space:
mode:
authorxue <>2006-07-02 20:44:58 +0000
committerxue <>2006-07-02 20:44:58 +0000
commitb359ed2bbd48ed4c9000eb507ee2d78aa5130cc0 (patch)
treee7cbf39bc3b53257611f60406b80ac436e084d74 /buildscripts/phing/bin
parent21c86e53de160f00a626cdd1c8afcc7ebbf8448e (diff)
Fixes for next release.
Diffstat (limited to 'buildscripts/phing/bin')
-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';