From: moodler Date: Mon, 9 Dec 2002 12:12:42 +0000 (+0000) Subject: testing wrong thing X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=21ba1d796b118fe013fc934e8ee50052be9edd05;p=moodle.git testing wrong thing --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index c261e77077..5ade77c1f5 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -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";