From b359ed2bbd48ed4c9000eb507ee2d78aa5130cc0 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 2 Jul 2006 20:44:58 +0000 Subject: Fixes for next release. --- buildscripts/phing/bin/phing.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'buildscripts/phing/bin') 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'; -- cgit v1.2.3