Merge pull request #5053 from dereuromark/master-xdebug

Show stack trace for fatal errors if xdebug is loaded.
This commit is contained in:
Mark Story 2014-11-02 15:03:39 -05:00
commit 279d15aaa5

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