From d98767cc70733dbbc031fc57dce5714b27e107b6 Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 15 Jun 2018 03:12:23 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hook/hook.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hook/hook.php b/hook/hook.php index 84d76d8..e3b6ae3 100644 --- a/hook/hook.php +++ b/hook/hook.php @@ -40,9 +40,8 @@ foreach ($raw_img_list as $path) { if(!\key_exists($dpath, $img_list)){ $img_list[$dpath] = []; } - $img_list[$dpath][$filename] = $basename; - + } file_put_contents('tmp.txt', json_encode($tmp_img_list));