Check $themename to prevent warnings at high levels of debugging ...

This commit is contained in:
moodler
2004-01-26 18:22:02 +00:00
parent ece42d55fc
commit 4fb93b2ed2
+4
View File
@@ -2,6 +2,10 @@
/// We use PHP so we can do value substitutions into the styles
if (!isset($themename)) {
$themename = NULL;
}
$nomoodlecookie = true;
require_once("../../config.php");
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);