mirror of
https://github.com/filp/whoops.git
synced 2026-08-31 04:27:52 +00:00
Merge pull request #677 from visavi/patch-1
Check exists xdebug_is_enabled
This commit is contained in:
@@ -251,7 +251,7 @@ class Inspector
|
||||
return $traces;
|
||||
}
|
||||
|
||||
if (!extension_loaded('xdebug') || !xdebug_is_enabled()) {
|
||||
if (!extension_loaded('xdebug') || !function_exists('xdebug_is_enabled') || !xdebug_is_enabled()) {
|
||||
return $traces;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user