From bbeff8ebc09d6ea6c34fb17bd3e3ae001b6a7117 Mon Sep 17 00:00:00 2001 From: Logical Arts LLC Date: Tue, 10 Mar 2015 07:22:26 -0700 Subject: [PATCH] Fixes #204 - Warning message about index.html in the plug-ins folder --- Plugin_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin_class.php b/Plugin_class.php index 4518a7ba..f6188c50 100644 --- a/Plugin_class.php +++ b/Plugin_class.php @@ -54,7 +54,7 @@ function getPluginsList() { while (false !== ($file = readdir($handle))) { - if ($file != '.htaccess' && $file != "." && $file != ".." && $file != '.svn' && is_file('plug-ins/' . $file . '/' . $file . '_class.php')) + if ($file != 'index.html' && $file != '.htaccess' && $file != "." && $file != ".." && $file != '.svn' && $file != '.git' && is_file('plug-ins/' . $file . '/' . $file . '_class.php')) { array_push($pluginslist, $file); }