aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-27 02:19:26 -0700
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-27 02:19:26 -0700
commit8623a5320078415f778c665c10827346512df448 (patch)
tree204f1c23b5c0641bfe3071b10ff853603ecdc226
parent92cd6e9af8c49be7b06beb583ee1c3026fbe356d (diff)
parent3cc22aab829f339ac6e1ce1af63d646efe4a227c (diff)
downloadwallabag-8623a5320078415f778c665c10827346512df448.tar.gz
wallabag-8623a5320078415f778c665c10827346512df448.tar.zst
wallabag-8623a5320078415f778c665c10827346512df448.zip
Merge pull request #245 from NumEricR/themes-list
Avoid ".git" option in themes list of config page
-rw-r--r--inc/poche/Poche.class.php2
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