forked from leftypol/leftypol
error.php: fix error_handler
This commit is contained in:
parent
44db356116
commit
6e962f91ad
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue