Theme not working for brand-new setup.

This commit is contained in:
moodler
2002-12-10 13:37:37 +00:00
parent 1355a93af2
commit e6f10ec582
+4 -3
View 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";
@@ -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.