- check for extraPath in settings and add it to the php include path

This commit is contained in:
steinm 2013-02-06 13:49:04 +00:00
parent be13dac0b7
commit 3e3d57bb86

View File

@ -67,7 +67,7 @@ if (isset($settingsOLD)) {
exit;
}
if(isset($settings->_rootDir))
ini_set('include_path', $settings->_rootDir.'/pear'. PATH_SEPARATOR .ini_get('include_path'));
if(isset($settings->_extraPath))
ini_set('include_path', $settings->_extraPath. PATH_SEPARATOR .ini_get('include_path'));
?>