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
1 changed files with 3 additions and 5 deletions

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 = ini_get('include_path');
$path = $path_extra . PATH_SEPARATOR . $path;
ini_set('include_path', $path);
$path = Director::baseFolder().'/sapphire/parsers/';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
/**