From ab06b18f5b618bc2df80f309e6c9f1d10a6ba88f Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Wed, 21 Aug 2013 23:14:52 +0200 Subject: theme qualifier without dots --- mod/admin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod') 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; -- cgit v1.2.3