diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-01-23 19:21:50 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-01-23 19:21:50 +0000 |
commit | 77c2632be656ebe5a307e397a732b29a05f0d9dc (patch) | |
tree | 8f1d849460217e219c02b5ea464dd73004c98875 /includes | |
parent | 6a1a93cefa99028d739a67c57278f2b5b626f8e5 (diff) | |
download | brdo-77c2632be656ebe5a307e397a732b29a05f0d9dc.tar.gz brdo-77c2632be656ebe5a307e397a732b29a05f0d9dc.tar.bz2 |
- Patch #99625: enable E_ALL mode.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index acd66a789..8827a732b 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -543,7 +543,7 @@ function error_handler($errno, $message, $filename, $line) { return; } - if ($errno & (E_ALL ^ E_NOTICE)) { + if ($errno & (E_ALL)) { $types = array(1 => 'error', 2 => 'warning', 4 => 'parse error', 8 => 'notice', 16 => 'core error', 32 => 'core warning', 64 => 'compile error', 128 => 'compile warning', 256 => 'user error', 512 => 'user warning', 1024 => 'user notice', 2048 => 'strict warning'); $entry = $types[$errno] .': '. $message .' in '. $filename .' on line '. $line .'.'; |