Merging 2.1 blog into trunk

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42890 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Jeremy Shipman 2007-10-02 03:20:56 +00:00
parent f4a357021b
commit 45ff73d72e

View File

@ -17,12 +17,10 @@
/** /**
* Add Pear (pear.php.net) * Add pear parser to include path
*/ */
$path_extra = PATH_SEPARATOR . realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'pear'; $path = Director::baseFolder().'/sapphire/parsers/';
$path = ini_get('include_path'); set_include_path(get_include_path() . PATH_SEPARATOR . $path);
$path = $path_extra . PATH_SEPARATOR . $path;
ini_set('include_path', $path);
/** /**