From 2e7a18f10f8eb9311a8d35e84978a966d9cb6839 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 30 Dec 2019 17:41:41 +0900 Subject: [PATCH] Update config.php --- system/config.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/system/config.php b/system/config.php index 6dbcf02..b5c9340 100644 --- a/system/config.php +++ b/system/config.php @@ -138,6 +138,8 @@ if(!check_function_exists("get_current_datetime")) { } if(!check_function_exists("get_old_version")) { - $config = get_config(); - return get_value_in_array("old_version", $config, 0); + function get_old_version() { + $config = get_config(); + return get_value_in_array("old_version", $config, 0); + } }