Update config.php

This commit is contained in:
Namhyeon Go 2019-11-17 22:34:51 +09:00 committed by GitHub
parent 8d2271109a
commit 5fcdfc0f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,3 +115,8 @@ if(!check_function_exists("get_current_datetime")) {
return $datetime; return $datetime;
} }
} }
if(!check_function_exists("get_old_version")) {
$config = get_config();
return get_value_in_array("old_version", $config, 0);
}