From bbeda81b19f4aca4a4cb6509bef8ca59076365d2 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Mon, 06 Oct 2008 14:59:22 -0400
Subject: [PATCH] #1485465: use common.css from skins instead of non-existent style.css

---
 program/steps/error.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/program/steps/error.inc b/program/steps/error.inc
index f1099e0..cec53ea 100644
--- a/program/steps/error.inc
+++ b/program/steps/error.inc
@@ -101,13 +101,14 @@
   $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>
 

--
Gitblit v1.9.1