From: NumEricR Date: Sat, 5 Oct 2013 08:52:08 +0000 (+0200) Subject: Remove useless filter on .git folder X-Git-Tag: 1.1.0~5^2^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=89812ec81cf77af32942d151372a8667c716fe30;p=github%2Fwallabag%2Fwallabag.git Remove useless filter on .git folder --- diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 1ba8e7c1..1a655386 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -258,7 +258,7 @@ class Poche while (($theme = readdir($handle)) !== false) { # Themes are stored in a directory, so all directory names are themes # @todo move theme installation data to database - if (! is_dir(THEME . '/' . $theme) || in_array($theme, array('..', '.', '.git'))) { + if (! is_dir(THEME . '/' . $theme) || in_array($theme, array('..', '.'))) { continue; }