error.php: fix error_handler

This commit is contained in:
Zankaria 2024-06-23 22:22:02 +02:00
parent 44db356116
commit 6e962f91ad

View file

@ -1,6 +1,6 @@
<?php
function error_handler($errno,$errstr,$errfile, $errline, $errcontext){
function error_handler($errno, $errstr, $errfile, $errline) {
if(error_reporting() & $errno){
$config['debug']=true;
error($errstr . ' in ' . $errfile . ' at line ' . $errline);