Update base.php
This commit is contained in:
parent
b2722ec8fd
commit
eb83665028
|
@ -284,6 +284,12 @@ if(!check_function_exists("check_array_length")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!check_function_exists("check_is_empty")) {
|
||||||
|
function check_is_empty($v, $d=true) {
|
||||||
|
return (empty($v) ? $d : false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// error handler
|
// error handler
|
||||||
if(!check_function_exists("set_error")) {
|
if(!check_function_exists("set_error")) {
|
||||||
function set_error($msg, $code="ERROR") {
|
function set_error($msg, $code="ERROR") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user