From e385820301e12cb0e39615faf0def8b40fccc55a Mon Sep 17 00:00:00 2001 From: Hide_D Date: Wed, 22 Mar 2023 21:50:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20classMap=EC=97=90=EC=84=9C=20orig.php?= =?UTF-8?q?=EB=A7=8C=20=EC=9E=88=EA=B3=A0,=20=EB=B3=B8=20php=EB=8A=94=20?= =?UTF-8?q?=EC=97=86=EB=8A=94=20=EC=BC=80=EC=9D=B4=EC=8A=A4=20=EA=B3=A0?= =?UTF-8?q?=EB=A0=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/lib.php b/hwe/lib.php index 8481ff6f..58f42119 100644 --- a/hwe/lib.php +++ b/hwe/lib.php @@ -9,6 +9,9 @@ $loader->addClassMap((function () { $d_settingMap = []; foreach (glob(__DIR__.'/d_setting/*.orig.php') as $filepath) { $filepath = str_replace('.orig.php', '.php', $filepath); + if(!file_exists($filepath)) { + continue; + } $filename = basename($filepath); $classname = explode('.', $filename)[0]; $d_settingMap['sammo\\'.$classname] = $filepath;