From ab38cea509250b18be92563c656109e5100887c1 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sun, 27 May 2018 01:47:14 +0900 Subject: [PATCH] Update storage.php --- system/storage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/storage.php b/system/storage.php index 287c848..5517428 100644 --- a/system/storage.php +++ b/system/storage.php @@ -17,8 +17,8 @@ if(!function_exists("get_storage_path")) { $dir_path = sprintf("./%s/%s", get_storage_dir(), $type); if(!is_dir($dir_path)) { - if(!mkdir($dir_path, 0777)) { - set_erorr("can not create directory"); + if(!@mkdir($dir_path, 0777)) { + set_error("can not create directory"); show_errors(); } }