diff options
author | RaindropsSys <contact@minteck.org> | 2023-06-03 14:10:08 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-06-03 14:10:08 +0200 |
commit | cc2a438199b02c78e5b2e2b71de8e56f6617eae9 (patch) | |
tree | 7ddbeba11a3c16ada13663e7b3bba9bef0f96ca6 /error.php | |
parent | 48afc99d05c7bcd54231f340635f5102a03fbda4 (diff) | |
download | pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.gz pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.bz2 pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.zip |
Updated 15 files (automated)
Diffstat (limited to 'error.php')
-rw-r--r-- | error.php | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,5 +1,9 @@ <?php function ch_error($level, $message, $file = null, $line = null, $context = null) { - ob_end_clean(); ?> + if ($level === E_USER_DEPRECATED || $level === E_DEPRECATED) return false; + + ob_end_clean(); + + ?> <!DOCTYPE html> <html lang="en"> @@ -68,10 +72,8 @@ if ($level === E_COMPILE_WARNING) echo("E_ALL"); if ($level === E_CORE_ERROR) echo("E_ALL"); if ($level === E_CORE_WARNING) echo("E_ALL"); - if ($level === E_DEPRECATED) echo("E_DEPRECATED"); if ($level === E_PARSE) echo("E_PARSE"); if ($level === E_RECOVERABLE_ERROR) echo("E_RECOVERABLE_ERROR"); - if ($level === E_USER_DEPRECATED) echo("E_USER_DEPRECATED"); ?>] <?= $message ?> |