From bee5ef35a5a03a8980042bbb584d742ddd74897f Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 16 Jun 2020 10:11:52 +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 1052405..e3fa0c9 100644 --- a/system/storage.php +++ b/system/storage.php @@ -56,7 +56,7 @@ if(!is_fn("get_safe_path")) { if(!is_fn("get_storage_path")) { function get_storage_path($type="data") { - $dir_path = sprintf("./%s/%s", get_storage_dir(), get_safe_path($type)); + $dir_path = sprintf("%s/%s/%s", get_current_working_dir(), get_storage_dir(), get_safe_path($type)); if(!is_dir($dir_path)) { if(!@mkdir($dir_path, 0777)) {