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:
mjollnir_
2008-01-15 01:10:34 +00:00
parent 0b5e060578
commit 60581bb517
2 changed files with 13 additions and 2 deletions
+2 -2
View File
@@ -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');
}
}