Skip to content

Commit 344f8b1

Browse files
committed
Missing specification on this field wether it is DB or SERVER connection.
1 parent 912bba8 commit 344f8b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

debug.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function connect($hostname, $username, $password, $port, $database = null)
4343
$connection = new mysqli($hostname, $username, $password, $database, $port);
4444

4545
if ($connection->connect_errno) {
46-
die("<div class='error'>mysql connection to CMS database could not be established: " . $connection->error . "</div>");
46+
die("<div class='error'>[DB] mysql connection to CMS database could not be established: " . $connection->error . "</div>");
4747
}
4848

4949
return $connection;
@@ -52,7 +52,7 @@ function connect($hostname, $username, $password, $port, $database = null)
5252
function select_db($connection, $database)
5353
{
5454
if (!$connection->select_db($database)) {
55-
die("<div class='error'>mysql connection to CMS database could not be established: " . $connection->error . "</div>");
55+
die("<div class='error'>[DB] mysql connection to CMS database could not be established: " . $connection->error . "</div>");
5656
}
5757

5858
return true;

0 commit comments

Comments
 (0)