mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
add rootDir to include path
This commit is contained in:
parent
9b8fe89730
commit
0bb366de1f
|
@ -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'));
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user