Merged from MOODLE_19_STABLE:
More on MDL-11561 - fixed up path to local/ settings file to be more consistent, added documentation in lib/locallib.php on how to create new local admin tree item
This commit is contained in:
+2
-2
@@ -4125,8 +4125,8 @@ function &admin_get_root($reload=false, $requirefulltree=true) {
|
||||
include($file);
|
||||
}
|
||||
}
|
||||
if (file_exists($CFG->dirroot.'/local/localsettings.php')) {
|
||||
include_once($CFG->dirroot.'/local/localsettings.php');
|
||||
if (file_exists($CFG->dirroot.'/local/settings.php')) {
|
||||
include_once($CFG->dirroot.'/local/settings.php');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user