Show stack trace for fatal errors if xdebug is loaded.

This commit is contained in:
euromark 2014-11-02 20:44:17 +01:00
parent a8c5b70b22
commit 00432fa427

View file

@ -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();
}
?>