Browse Source

Fix error_handler

dockerize
Zankaria 3 months ago
committed by Zankaria
parent
commit
9112bc05d3
  1. 2
      inc/error.php

2
inc/error.php

@ -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);

Loading…
Cancel
Save