Permalink
Browse files

Theme not working for brand-new setup.

  • Loading branch information...
1 parent 1355a93 commit e6f10ec582c44f4c6fc2a6bfa655e9f57cf695d4 moodler committed Dec 10, 2002
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/setup.php
View
@@ -53,9 +53,6 @@
$CFG->wordlist = "$CFG->libdir/wordlist.txt";
$CFG->javascript = "$CFG->libdir/javascript.php";
- $CFG->stylesheet = "$CFG->wwwroot/theme/$CFG->theme/styles.php";
- $CFG->header = "$CFG->dirroot/theme/$CFG->theme/header.html";
- $CFG->footer = "$CFG->dirroot/theme/$CFG->theme/footer.html";
$CFG->moddata = "moddata";
@@ -66,6 +63,10 @@
}
require("$CFG->dirroot/theme/$CFG->theme/config.php");
+ $CFG->stylesheet = "$CFG->wwwroot/theme/$CFG->theme/styles.php";
+ $CFG->header = "$CFG->dirroot/theme/$CFG->theme/header.html";
+ $CFG->footer = "$CFG->dirroot/theme/$CFG->theme/footer.html";
+
/// Reference code to remove magic quotes from everything ... just in case.

0 comments on commit e6f10ec

Please sign in to comment.