summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>