Skip to content

Commit 360ad7d

Browse files
authored
Add check for Debugger enabled in start method
1 parent 0d4834f commit 360ad7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Firewall.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ protected static function getKey()
3333

3434
public static function start()
3535
{
36+
if (Debugger::$enabled) return;
3637
header_remove('X-Powered-By');
3738
$key = self::getKey();
3839
$start = microtime(true);

0 commit comments

Comments
 (0)