Update base.php
This commit is contained in:
parent
e747bcc2d9
commit
41b454fa0e
|
@ -296,6 +296,7 @@ if(!check_function_exists("set_error")) {
|
|||
function set_error($msg, $code="ERROR") {
|
||||
global $shared_vars;
|
||||
$shared_vars['errors'][] = $code . ": " . $msg;
|
||||
write_common_log($msg, "set_error);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user