Skip to content

Commit

Permalink
Fixes opendocman#204 - Warning message about index.html in the plug-i…
Browse files Browse the repository at this point in the history
…ns folder
  • Loading branch information
stephenlawrence committed Mar 10, 2015
1 parent 321d384 commit bbeff8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit bbeff8e

Please sign in to comment.