]> git.mjollnir.org Git - moodle.git/commitdiff
Theme not working for brand-new setup.
authormoodler <moodler>
Tue, 10 Dec 2002 13:37:37 +0000 (13:37 +0000)
committermoodler <moodler>
Tue, 10 Dec 2002 13:37:37 +0000 (13:37 +0000)
lib/setup.php

index 0e04b3b8f4a327916a42a0f3f1f28de9a91e15da..cee833b4ddc9b96825d0e952cd7be641f29fadb3 100644 (file)
@@ -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";
 
 
     }
     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.