Update base.php
This commit is contained in:
parent
190de76e2e
commit
d6b3b63264
|
@ -322,13 +322,12 @@ if(!check_function_exists("show_errors")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!check_function_exists("set_error_exit")) {
|
if(!check_function_exists("do_error")) {
|
||||||
function set_error_exit($msg, $code="ERROR") {
|
function do_error($msg, $code="ERROR") {
|
||||||
set_error($msg, $code);
|
set_error($msg, $code);
|
||||||
show_errors();
|
show_errors();
|
||||||
}
|
}
|
||||||
}
|
}do_error
|
||||||
|
|
||||||
|
|
||||||
if(!check_function_exists("get_property_value")) {
|
if(!check_function_exists("get_property_value")) {
|
||||||
function get_property_value($prop, $obj, $ac=false) {
|
function get_property_value($prop, $obj, $ac=false) {
|
||||||
|
@ -354,13 +353,20 @@ if(!check_function_exists("get_routes")) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deprecated: array_multikey_empty is changed to array_keys_empty, since version 1.2
|
// Deprecated: array_multikey_empty() is changed to array_keys_empty(), since version 1.2
|
||||||
if(!check_function_exists("array_multikey_empty")) {
|
if(!check_function_exists("array_multikey_empty")) {
|
||||||
function array_multikey_empty($keys, $array) {
|
function array_multikey_empty($keys, $array) {
|
||||||
return array_keys_empty($keys, $array);
|
return array_keys_empty($keys, $array);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Deprecated: set_error_exit() is changed to do_error()
|
||||||
|
if(!check_function_exists("set_error_exit")) {
|
||||||
|
function set_error_exit($msg, $code="ERROR") {
|
||||||
|
do_error($msg, $code);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$loaded = array(
|
$loaded = array(
|
||||||
"module" => array(),
|
"module" => array(),
|
||||||
"helper" => array(),
|
"helper" => array(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user