testing wrong thing

This commit is contained in:
moodler
2002-12-09 12:12:42 +00:00
parent 469e5eb18e
commit 21ba1d796b
+1 -1
View 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";