summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-06 18:59:22 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-06 18:59:22 +0000
commit3232f764088cb88f51c8a8d7953e45ec99f14523 (patch)
tree8ff3a38fff278ce9fdbb79903fe347a152ec7190 /roundcubemail/program
parent1f27bbacd22ecab0216e8ec0c5890ce03f083115 (diff)
#1485465: use common.css from skins instead of non-existent style.css
git-svn-id: https://svn.roundcube.net/trunk@1946 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/error.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/error.inc b/roundcubemail/program/steps/error.inc
index f1099e0d6..cec53eaf5 100644
--- a/roundcubemail/program/steps/error.inc
+++ b/roundcubemail/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>