Permalink
Browse files

If prefix isn't defined in config.php then define it as "" to avoid

problems with upgraders who don't edit config.php
  • Loading branch information...
1 parent 6fbf8d8 commit b6bae251a1cbe60284b6c7c2499445e96596bc73 moodler committed Jan 1, 2003
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/setup.php
View
@@ -23,6 +23,11 @@
die;
}
+ if (!isset($CFG->prefix)) { // Just in case it isn't defined in config.php
+ $CFG->prefix = "";
+ }
+
+
/// Load up standard libraries

0 comments on commit b6bae25

Please sign in to comment.