Update base.php

This commit is contained in:
Namhyeon Go 2018-08-24 23:57:09 +09:00 committed by GitHub
parent f069ea4326
commit 40c1df80c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
if(!function_exists("check_function_exists")) {
function check_function_exists($rules) {