Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

local settings in admin tree: include, rather than include once since…

… it gets unset and regenerated.
  • Loading branch information...
commit 50537ba7788296950424da6d5dc5da6470060ecf 1 parent eada690
mjollnir_ authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/adminlib.php
View
2  lib/adminlib.php
@@ -4369,7 +4369,7 @@ function &admin_get_root($reload=false, $requirefulltree=true) {
include($CFG->dirroot.'/'.$CFG->admin.'/settings/plugins.php');
if (file_exists($CFG->dirroot.'/local/settings.php')) {
- include_once($CFG->dirroot.'/local/settings.php');
+ include($CFG->dirroot.'/local/settings.php');
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.