]> git.mjollnir.org Git - moodle.git/commitdiff
testing wrong thing
authormoodler <moodler>
Mon, 9 Dec 2002 12:12:42 +0000 (12:12 +0000)
committermoodler <moodler>
Mon, 9 Dec 2002 12:12:42 +0000 (12:12 +0000)
lib/moodlelib.php

index c261e770771c0c0685d665ecde0bce4770257db7..5ade77c1f50e556a7b423052116829448c9a032c 100644 (file)
@@ -21,7 +21,7 @@ function print_header ($title="", $heading="", $navigation="", $focus="", $meta=
 // $menu - HTML code for a popup menu 
     global $USER, $CFG, $THEME;
 
-    if (file_exists($CFG->stylesheet)) {
+    if (file_exists("$CFG->dirroot/theme/$CFG->theme/styles.php")) {
         $styles = $CFG->stylesheet;
     } else {
         $styles = "$CFG->wwwroot/theme/standard/styles.php";