Update config.php

This commit is contained in:
Namhyeon Go 2020-01-29 20:43:14 +09:00 committed by GitHub
parent d91ae7cc04
commit 6c80d9e478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,11 +36,10 @@ if(!check_function_exists("read_config")) {
if(!check_function_exists("get_config")) {
function get_config() {
$config = get_shared_var("config");
if(!is_array($config)) {
set_shared_var("config", read_config());
}
return get_shared_var("config");
}
}