From 0b6bb751c394dfcdc52dbb38601eaae499878f8b Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 13 Nov 2019 17:11:21 +0900 Subject: [PATCH] Update storage.php --- system/storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/storage.php b/system/storage.php index 9fa445a..49f8d5e 100644 --- a/system/storage.php +++ b/system/storage.php @@ -152,7 +152,7 @@ if(!check_function_exists("read_storage_file")) { $result = false; $storage_type = get_value_in_array("storage_type", $options, "data"); - $max_age = get_value_in_array("max_age", $options, 0); // max_age (seconds) + $max_age = get_value_in_array("max_age", $options, 0); // max_age (seconds), the value 0 is forever $upload_base_path = get_storage_path($storage_type); $upload_base_url = get_storage_url($storage_type); $upload_filename = sprintf("%s/%s", $upload_base_path, get_safe_path($filename));