]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/pear/scripts/peclcmd.php
White space formatting, also added a TODO comment about a currently not fixed nasty...
[timetracker.git] / WEB-INF / lib / pear / scripts / peclcmd.php
index 498caafd11c730785115e2a3cabff4efb8d5584d..1c8bcb6bb6983821b609d750587141e557f55db6 100644 (file)
  * @author     Tomas V.V.Cox <cox@idecnet.com>
  * @copyright  1997-2009 The Authors
  * @license    http://opensource.org/licenses/bsd-license.php New BSD License
  * @author     Tomas V.V.Cox <cox@idecnet.com>
  * @copyright  1997-2009 The Authors
  * @license    http://opensource.org/licenses/bsd-license.php New BSD License
- * @version    CVS: $Id: peclcmd.php 313023 2011-07-06 19:17:11Z dufuz $
  * @link       http://pear.php.net/package/PEAR
  */
 
 /**
  * @nodep Gtk
  */
  * @link       http://pear.php.net/package/PEAR
  */
 
 /**
  * @nodep Gtk
  */
-if ('@include_path@' != '@'.'include_path'.'@') {
-    ini_set('include_path', '@include_path@');
+//the space is needed for windows include paths with trailing backslash
+// http://pear.php.net/bugs/bug.php?id=19482
+if ('@include_path@ ' != '@'.'include_path'.'@ ') {
+    ini_set('include_path', trim('@include_path@ '). PATH_SEPARATOR .  get_include_path());
     $raw = false;
 } else {
     // this is a raw, uninstalled pear, either a cvs checkout, or php distro
     $raw = false;
 } else {
     // this is a raw, uninstalled pear, either a cvs checkout, or php distro