Skip to content

Commit

Permalink
! feel the depreciation pain if you have db_show_debug enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuds committed Jul 7, 2022
1 parent 49e7ddc commit 9cdfe81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bootstrap.php
Expand Up @@ -284,12 +284,13 @@ private function checkMaintance()
*/
private function setDebug()
{
global $db_show_debug;
global $db_show_debug, $ssi_error_reporting;

// Show lots of debug information below the page, not for production sites
if ($db_show_debug === true)
{
Debug::instance()->rusage('start', $this->rusage_start);
$ssi_error_reporting = error_reporting(E_ALL | E_STRICT & ~8192);
}
}

Expand Down

0 comments on commit 9cdfe81

Please sign in to comment.