mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Format debug output (sql query)
This commit is contained in:
@@ -393,7 +393,7 @@ class e_db_mysql
|
|||||||
|
|
||||||
if ($debug == 'now')
|
if ($debug == 'now')
|
||||||
{
|
{
|
||||||
echo "** $query<br />\n";
|
echo "<pre>** $query</pre><br />\n";
|
||||||
}
|
}
|
||||||
if ($debug !== FALSE || strstr($_SERVER['QUERY_STRING'], 'showsql'))
|
if ($debug !== FALSE || strstr($_SERVER['QUERY_STRING'], 'showsql'))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user