summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-06 18:59:22 +0000
committeralecpl <alec@alec.pl>2008-10-06 18:59:22 +0000
commitbbeda81b19f4aca4a4cb6509bef8ca59076365d2 (patch)
tree85e4a32486b3c3c3bd810fd62513ec9844441c88 /program/steps
parentaaa6ace377f57ca22de56eff96230cfcc74c62a8 (diff)
#1485465: use common.css from skins instead of non-existent style.css
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/error.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/error.inc b/program/steps/error.inc
index f1099e0d6..cec53eaf5 100644
--- a/program/steps/error.inc
+++ b/program/steps/error.inc
@@ -101,13 +101,14 @@ if ($OUTPUT && $OUTPUT->template_exists('error')) {
$OUTPUT->send('error');
}
+$__skin = $CONFIG->skin ? $CONFIG->skin : 'default';
// print system error page
print <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>RoundCube|Mail : ERROR $ERROR_CODE</title>
-<link rel="stylesheet" type="text/css" href="program/style.css" />
+<link rel="stylesheet" type="text/css" href="skins/$__skin/common.css" />
</head>
<body>