Skip to content
Snippets Groups Projects
Commit 3639beb8 authored by Helmo's avatar Helmo
Browse files

Add a space for log readablilty

In the example belog failed and PHP were joined without a space ...

"Database connection failedPHP Warning:  mysqli_real_connect()"
parent 4e7be391
No related branches found
No related tags found
No related merge requests found
...@@ -559,7 +559,7 @@ class db ...@@ -559,7 +559,7 @@ class db
} elseif(is_object($app) && method_exists($app, 'log') && $bNoLog == false) { } elseif(is_object($app) && method_exists($app, 'log') && $bNoLog == false) {
$app->log($sErrormsg . $sAddMsg . ' -> ' . $mysql_errno . ' (' . $mysql_error . ')', LOGLEVEL_WARN, false); $app->log($sErrormsg . $sAddMsg . ' -> ' . $mysql_errno . ' (' . $mysql_error . ')', LOGLEVEL_WARN, false);
} elseif(php_sapi_name() == 'cli') { } elseif(php_sapi_name() == 'cli') {
echo $sErrormsg . $sAddMsg; echo $sErrormsg . ' ' . $sAddMsg;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment