@@ -1,3 +1,5 @@ | |||
body {background-color: #F9F9F9;} | |||
body.error {background-color: #F0F0F0;} | |||
body,th,td,ul,li,a,div,p,pre {color:#333333; font-family:Verdana,"Bitstream Vera Sans",Arial,Helvetica,Sans,"Bitstream Vera Serif"; font-size:9.0pt;} | |||
.nametext a {color:#333333; font-size:8pt; font-weight:bold; text-decoration:none;} |
@@ -190,7 +190,7 @@ class OC_DB { | |||
$DBConnection = @new mysqli($CONFIG_DBHOST, $CONFIG_DBUSER, $CONFIG_DBPWD,$CONFIG_DBNAME); | |||
if (mysqli_connect_errno()) { | |||
@ob_end_clean(); | |||
echo('<html><head></head><body bgcolor="#F0F0F0"><br /><br /><center><b>can not connect to database.</center></body></html>'); | |||
echo('<html><head></head><body class="error"><br /><br /><center><b>can not connect to database.</center></body></html>'); | |||
exit(); | |||
} | |||
} |
@@ -5,7 +5,7 @@ | |||
<title>ownCloud</title> | |||
<link rel="stylesheet" type="text/css" href="/css/default.css" /> | |||
</head> | |||
<body bgcolor="#F9F9F9"> | |||
<body> | |||
<center><a href="/"><img src="/img/owncloud-logo-small.png" border="0"></a></center> | |||
<?php | |||