mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Show stack trace for fatal errors if xdebug is loaded.
This commit is contained in:
parent
a8c5b70b22
commit
00432fa427
1 changed files with 5 additions and 0 deletions
|
@ -32,3 +32,8 @@
|
|||
<strong><?php echo __d('cake_dev', 'Notice'); ?>: </strong>
|
||||
<?php echo __d('cake_dev', 'If you want to customize this error message, create %s', APP_DIR . DS . 'View' . DS . 'Errors' . DS . 'fatal_error.ctp'); ?>
|
||||
</p>
|
||||
<?php
|
||||
if (extension_loaded('xdebug')) {
|
||||
xdebug_print_function_stack();
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue