aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2013-08-21 23:14:52 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2013-08-21 23:14:52 +0200
commitab06b18f5b618bc2df80f309e6c9f1d10a6ba88f (patch)
treecc418123094857acc0ec709fd56579460e66a702
parent056ed00a4cea6175eb57781569a77648ce7d3382 (diff)
downloadvolse-hubzilla-ab06b18f5b618bc2df80f309e6c9f1d10a6ba88f.tar.gz
volse-hubzilla-ab06b18f5b618bc2df80f309e6c9f1d10a6ba88f.tar.bz2
volse-hubzilla-ab06b18f5b618bc2df80f309e6c9f1d10a6ba88f.zip
theme qualifier without dots
-rw-r--r--mod/admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/admin.php b/mod/admin.php
index df1a40019..7e8f7a301 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -365,11 +365,11 @@ function admin_page_site(&$a) {
if($files) {
foreach($files as $file) {
$f = basename($file);
- $theme_name = ((file_exists($file . '/.experimental')) ? sprintf("%s - Experimental", $f) : $f);
- if (file_exists($file . '/.mobile')) {
+ $theme_name = ((file_exists($file . '/experimental')) ? sprintf("%s - Experimental", $f) : $f);
+ if (file_exists($file . '/mobile')) {
$theme_choices_mobile[$f] = $theme_name;
}
- if (file_exists($file . '/.accessibility')) {
+ if (file_exists($file . '/accessibility')) {
$theme_choices_accessibility[$f] = $theme_name;
}
$theme_choices[$f] = $theme_name;