From 45ff73d72e8b4d44d9f10f4b3c270cd21982eb1e Mon Sep 17 00:00:00 2001 From: Jeremy Shipman Date: Tue, 2 Oct 2007 03:20:56 +0000 Subject: [PATCH] Merging 2.1 blog into trunk git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42890 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- _config.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/_config.php b/_config.php index 32802b59e..377273d71 100644 --- a/_config.php +++ b/_config.php @@ -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); /**