From e5c4faf6efeee4c89e8e7ecf0adf6fffd9ee248b Mon Sep 17 00:00:00 2001 From: kuaifan Date: Fri, 22 Apr 2022 09:11:15 +0800 Subject: [PATCH] no message --- app/Http/Controllers/IndexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/IndexController.php b/app/Http/Controllers/IndexController.php index 5acafbe51..a9dddb54b 100755 --- a/app/Http/Controllers/IndexController.php +++ b/app/Http/Controllers/IndexController.php @@ -182,7 +182,7 @@ class IndexController extends InvokeController $lists = Base::readDir($dirPath); $files = []; foreach ($lists as $file) { - if (str_ends_with($file, '.yml')) { + if (str_ends_with($file, '.yml') || str_ends_with($file, '.yaml')) { continue; } $fileName = Base::leftDelete($file, $dirPath);