mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Moved set_include_path() for sapphire/thirdparty from Money class to sapphire/_config.php - we'll need it for other Zend components as well in the future
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77150 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0f237b0c57
commit
0b9edf2a39
@ -44,15 +44,11 @@ Director::addRules(1, array(
|
|||||||
Object::useCustomClass('Datetime','SSDatetime',true);
|
Object::useCustomClass('Datetime','SSDatetime',true);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add pear parser to include path
|
* Add thirdparty include paths
|
||||||
*/
|
*/
|
||||||
$path = Director::baseFolder().'/sapphire/parsers/';
|
$path = Director::baseFolder().'/sapphire/parsers/';
|
||||||
set_include_path(str_replace('.' . PATH_SEPARATOR, '.' . PATH_SEPARATOR . $path . PATH_SEPARATOR, get_include_path()));
|
set_include_path(str_replace('.' . PATH_SEPARATOR, '.' . PATH_SEPARATOR . $path . PATH_SEPARATOR, get_include_path()));
|
||||||
|
set_include_path(get_include_path() . PATH_SEPARATOR . BASE_PATH . '/sapphire/thirdparty');
|
||||||
/**
|
|
||||||
* Define a default language different than english
|
|
||||||
*/
|
|
||||||
//i18n::set_locale('ca_AD');
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user