aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Template.class.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2014-11-17 23:15:47 +0100
committerThomas Citharel <tcit@tcit.fr>2014-11-17 23:15:47 +0100
commitdb3bffa284012aec4f96c851c413e435080fed02 (patch)
treed6fa34ee7f90338ef301c90b5b4a712c53354383 /inc/poche/Template.class.php
parentd0287608b6d34f36caafbf699d44337052a0fe3d (diff)
parentca6c0de38015e805acf432925059dbb26241bad3 (diff)
downloadwallabag-db3bffa284012aec4f96c851c413e435080fed02.tar.gz
wallabag-db3bffa284012aec4f96c851c413e435080fed02.tar.zst
wallabag-db3bffa284012aec4f96c851c413e435080fed02.zip
Merge pull request #937 from jsit/favicons
Moving favicons to new _global theme dir and adjusting <link> tags
Diffstat (limited to 'inc/poche/Template.class.php')
-rw-r--r--inc/poche/Template.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/poche/Template.class.php b/inc/poche/Template.class.php
index b686f2ec..20e9c54a 100644
--- a/inc/poche/Template.class.php
+++ b/inc/poche/Template.class.php
@@ -181,7 +181,7 @@ class Template extends Twig_Environment
181 while (($theme = readdir($handle)) !== false) { 181 while (($theme = readdir($handle)) !== false) {
182 # Themes are stored in a directory, so all directory names are themes 182 # Themes are stored in a directory, so all directory names are themes
183 # @todo move theme installation data to database 183 # @todo move theme installation data to database
184 if (!is_dir(THEME . '/' . $theme) || in_array($theme, array('.', '..'))) { 184 if (!is_dir(THEME . '/' . $theme) || in_array($theme, array('.', '..', '_global'))) {
185 continue; 185 continue;
186 } 186 }
187 187
@@ -232,4 +232,4 @@ class Template extends Twig_Environment
232 Tools::emptyCache(); 232 Tools::emptyCache();
233 Tools::redirect('?view=config'); 233 Tools::redirect('?view=config');
234 } 234 }
235} \ No newline at end of file 235}