diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-09-30 09:49:20 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-09-30 09:49:20 +0000 |
commit | 77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394 (patch) | |
tree | bc1007e194cf34eca13683d7e21818b04ec213d0 /phpBB/includes/functions.php | |
parent | eef41d039edecdb80b52a4122dacd874d0e1b807 (diff) | |
download | forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.tar forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.tar.gz forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.tar.bz2 forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.tar.xz forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.zip |
further adjustments to exit; statements
force E_USER_ERROR to exit *always* - it is always a fatal error which should stop every execution happening
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8957 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index fc3257dfd8..0c5daa9231 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3228,6 +3228,9 @@ function msg_handler($errno, $msg_text, $errfile, $errline) echo '</html>'; exit_handler(); + + // On a fatal error (and E_USER_ERROR *is* fatal) we never want other scripts to continue and force an exit here. + exit; break; case E_USER_WARNING: |