summaryrefslogtreecommitdiffstats
path: root/application/errors
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-02-03 16:34:33 +0100
committerFlorian Pritz <bluewind@xinu.at>2013-02-03 16:34:33 +0100
commit0fdfe6ad2cf73ddf52dcc67efd9805dede90a2dd (patch)
treee68e143810cfad60926d3b0766d768f7060eb7d1 /application/errors
parent84cd95e84d369e243bae0c27828b9ae1aba8be94 (diff)
Abort execution if we hit any php error/warning/notice
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/errors')
-rwxr-xr-xapplication/errors/error_php.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/errors/error_php.php b/application/errors/error_php.php
index f085c2037..5f91e07a0 100755
--- a/application/errors/error_php.php
+++ b/application/errors/error_php.php
@@ -7,4 +7,5 @@
<p>Filename: <?php echo $filepath; ?></p>
<p>Line Number: <?php echo $line; ?></p>
-</div> \ No newline at end of file
+</div>
+<?php exit();