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));