diff --git a/inc/inc.Settings.php b/inc/inc.Settings.php index fe0f5872e..46e7a7738 100644 --- a/inc/inc.Settings.php +++ b/inc/inc.Settings.php @@ -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')); ?>