add rootDir to include path

This commit is contained in:
Uwe Steinmann 2014-12-08 14:51:26 +01:00
parent 9b8fe89730
commit 0bb366de1f

View File

@ -91,4 +91,9 @@ if (get_magic_quotes_gpc()) {
}
unset($process);
}
/* Add root Dir. Needed because the view classes are included
* relative to it.
*/
ini_set('include_path', $settings->_rootDir. PATH_SEPARATOR .ini_get('include_path'));
?>