diff options
author | CharlyCoste <contact@ccoste.fr> | 2010-03-14 02:03:29 +0100 |
---|---|---|
committer | CharlyCoste <contact@ccoste.fr> | 2010-03-14 02:03:29 +0100 |
commit | c921e5422d3c927c7ccd1c062e9fa3338834c1b7 (patch) | |
tree | f37e81a0c66f1351c7c0e34f1ede0f056c79fa68 /inc/lib_base.php | |
parent | ab0b552c80a34b38afbc01b9598d77677a7659fb (diff) | |
download | nextcloud-server-c921e5422d3c927c7ccd1c062e9fa3338834c1b7.tar.gz nextcloud-server-c921e5422d3c927c7ccd1c062e9fa3338834c1b7.zip |
<br /> is not a valid strict xhtml1.0 tag. Not semantic. Replacing it by CSS instructions on semantic tags.
Diffstat (limited to 'inc/lib_base.php')
-rwxr-xr-x | inc/lib_base.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/lib_base.php b/inc/lib_base.php index f4523228674..b8d5bcb9ed4 100755 --- a/inc/lib_base.php +++ b/inc/lib_base.php @@ -190,14 +190,14 @@ 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 class="error"><br /><br /><div class="center"><b>can not connect to database.</div></body></html>'); + echo('<html><head></head><body class="error"><div class="center"><b>can not connect to database.</div></body></html>'); exit(); } } $result = @$DBConnection->query($cmd); if (!$result) { - $entry='DB Error: "'.$DBConnection->error.'"<br />'; - $entry.='Offending command was: '.$cmd.'<br />'; + $entry='<p>DB Error: "'.$DBConnection->error.'"</p>'; + $entry.='<p>Offending command was: '.$cmd.'</p>'; echo($entry); } return $result; |