diff --git a/system/config.php b/system/config.php index e589335..101804b 100644 --- a/system/config.php +++ b/system/config.php @@ -115,3 +115,8 @@ if(!check_function_exists("get_current_datetime")) { return $datetime; } } + +if(!check_function_exists("get_old_version")) { + $config = get_config(); + return get_value_in_array("old_version", $config, 0); +}