summaryrefslogtreecommitdiffstats
path: root/inc/lib_base.php
diff options
context:
space:
mode:
authorCharlyCoste <contact@ccoste.fr>2010-03-14 02:03:29 +0100
committerCharlyCoste <contact@ccoste.fr>2010-03-14 02:03:29 +0100
commitc921e5422d3c927c7ccd1c062e9fa3338834c1b7 (patch)
treef37e81a0c66f1351c7c0e34f1ede0f056c79fa68 /inc/lib_base.php
parentab0b552c80a34b38afbc01b9598d77677a7659fb (diff)
downloadnextcloud-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-xinc/lib_base.php6
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;