diff options
author | NumEricR <eric.github@gmail.com> | 2013-09-26 23:37:07 +0200 |
---|---|---|
committer | NumEricR <eric.github@gmail.com> | 2013-09-26 23:37:07 +0200 |
commit | 3cc22aab829f339ac6e1ce1af63d646efe4a227c (patch) | |
tree | 204f1c23b5c0641bfe3071b10ff853603ecdc226 /inc | |
parent | 92cd6e9af8c49be7b06beb583ee1c3026fbe356d (diff) | |
download | wallabag-3cc22aab829f339ac6e1ce1af63d646efe4a227c.tar.gz wallabag-3cc22aab829f339ac6e1ce1af63d646efe4a227c.tar.zst wallabag-3cc22aab829f339ac6e1ce1af63d646efe4a227c.zip |
Avoid ".git" option in themes list of config page
Diffstat (limited to 'inc')
-rw-r--r-- | inc/poche/Poche.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 561de808..1bae2751 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -255,7 +255,7 @@ class Poche | |||
255 | while (($theme = readdir($handle)) !== false) { | 255 | while (($theme = readdir($handle)) !== false) { |
256 | # Themes are stored in a directory, so all directory names are themes | 256 | # Themes are stored in a directory, so all directory names are themes |
257 | # @todo move theme installation data to database | 257 | # @todo move theme installation data to database |
258 | if (! is_dir(THEME . '/' . $theme) || in_array($theme, array('..', '.'))) { | 258 | if (! is_dir(THEME . '/' . $theme) || in_array($theme, array('..', '.', '.git'))) { |
259 | continue; | 259 | continue; |
260 | } | 260 | } |
261 | 261 | ||