summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-06-03 14:10:08 +0200
committerRaindropsSys <contact@minteck.org>2023-06-03 14:10:08 +0200
commitcc2a438199b02c78e5b2e2b71de8e56f6617eae9 (patch)
tree7ddbeba11a3c16ada13663e7b3bba9bef0f96ca6 /error.php
parent48afc99d05c7bcd54231f340635f5102a03fbda4 (diff)
downloadpluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.gz
pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.tar.bz2
pluralconnect-cc2a438199b02c78e5b2e2b71de8e56f6617eae9.zip
Updated 15 files (automated)
Diffstat (limited to 'error.php')
-rw-r--r--error.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/error.php b/error.php
index 992197e..5b65ab3 100644
--- a/error.php
+++ b/error.php
@@ -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 ?>