Created
September 27, 2016 22:30
-
-
Save shawn-crigger/bd28692da0e5009ae1ff9fc7cc8643bc to your computer and use it in GitHub Desktop.
Better Error PHP file for ExpressionEngine ./system/expressionengine/errors/error_php.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="border:1px solid #990000;padding:20px;margin:10px;"> | |
<h4>A PHP Error was encountered</h4> | |
<p>Severity: <?php echo $severity; ?></p> | |
<p>Message: <?php echo $message; ?></p> | |
<p>Filename: <?php echo $filepath; ?></p> | |
<p>Line Number: <?php echo $line; ?></p> | |
<p><hr/><?php | |
$e = new Exception(); | |
echo $e->getTraceAsString(); | |
?></p> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment