mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update Dev.php
This commit is contained in:
parent
8614569ec3
commit
af47c51ce8
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ class Dev
|
||||||
{
|
{
|
||||||
global $bb_cfg;
|
global $bb_cfg;
|
||||||
|
|
||||||
|
if (!$bb_cfg['whoops']['enabled']) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show errors on page
|
* Show errors on page
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue