mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
f4a357021b
commit
45ff73d72e
@ -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);
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user