[switchyard] r800 committed - Fixed the PATH_SEPARATOR issue with include_path in bootstrap.php.

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 13, 2009, 5:15:09 PM10/13/09
to switchy...@googlegroups.com
Revision: 800
Author: intuiworx
Date: Tue Oct 13 14:14:12 2009
Log: Fixed the PATH_SEPARATOR issue with include_path in bootstrap.php.
http://code.google.com/p/switchyard/source/detail?r=800

Modified:
/framework/trunk/app/core/bootstrap.php

=======================================
--- /framework/trunk/app/core/bootstrap.php Thu Oct 1 12:51:33 2009
+++ /framework/trunk/app/core/bootstrap.php Tue Oct 13 14:14:12 2009
@@ -35,7 +35,7 @@
define('GET', ($_SERVER['REQUEST_METHOD'] == 'GET')?true:false);

// Add to the include dirs
-ini_set('include_path', ini_get('include_path').'/'.SY_ROOTDIR.'/phplib');
+ini_set('include_path',
ini_get('include_path').PATH_SEPARATOR.SY_ROOTDIR.'/phplib');

// setup autoload & take care of any other class initialization
spl_autoload_register('switchyard_autoload');

Reply all
Reply to author
Forward
0 new messages