Update base.php
This commit is contained in:
parent
f069ea4326
commit
40c1df80c3
|
@ -222,6 +222,13 @@ if(!function_exists("show_errors")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!function_exists("set_error_exit")) {
|
||||||
|
function set_error_exit($msg, $code="ERROR") {
|
||||||
|
set_error($msg, $code);
|
||||||
|
show_errors();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// check function exists
|
// check function exists
|
||||||
if(!function_exists("check_function_exists")) {
|
if(!function_exists("check_function_exists")) {
|
||||||
function check_function_exists($rules) {
|
function check_function_exists($rules) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user