Update base.php

This commit is contained in:
Namhyeon Go 2018-05-24 15:09:39 +09:00 committed by GitHub
parent d9b7fdad83
commit e0aa26faf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ if(!function_exists("loadModule")) {
$systemfile = './system/' . $name2 . '.php';
if(file_exists($systemfile)) {
$flag = $flag && !include_isolate($systemfile);
register_loaded("view", $systemfile);
register_loaded("module", $systemfile);
} else {
set_error("Module " . $name . "dose not exists");
}
@ -118,7 +118,7 @@ if(!function_exists("array_key_empty")) {
if(is_array($array)) {
if(array_key_exists($key, $array)) {
$empty = $empty && empty($array[$key]);
$empty = $empty && empty($array[$key]);
}
}