From ee1b01f720ac4d7795b49cd4b3bac5d1e60cf22d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E8=AF=BA?= <836333583@qq.com> Date: Thu, 9 Mar 2023 23:51:28 +0000 Subject: [PATCH] =?UTF-8?q?update=20sdk/page/Index.php.=20=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=88=97=E8=A1=A8=E9=A1=B5=E5=88=86=E6=94=AF=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=EF=BC=8C=E6=8E=92=E9=99=A4.gitee=E5=92=8C.git?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E7=9A=84=E6=98=BE=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 云诺 <836333583@qq.com> --- sdk/page/Index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/page/Index.php b/sdk/page/Index.php index d909d33..63e64b1 100644 --- a/sdk/page/Index.php +++ b/sdk/page/Index.php @@ -22,7 +22,7 @@ class Index extends Controller { $plugins = array(); $f = opendir($pluginRoot); while (($plugin = readdir($f)) !== false) { - if ($plugin == '.' || $plugin == '..') { + if ($ver == '.' || $ver == '..' || $ver == '.gitee' || $ver == '.git') { continue; } $pluginDir = $pluginRoot . '/' . $plugin; -- Gitee