aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-19 16:22:38 -0700
committerfriendica <info@friendica.com>2012-06-19 16:22:38 -0700
commit01aa9539516a5a530c017a5effc9c186a4313649 (patch)
tree256f8b25b2683eb74e8740f964a02fb752edb35d /boot.php
parent6e06d415bb1fa085515937229b167fc59acfc194 (diff)
downloadvolse-hubzilla-01aa9539516a5a530c017a5effc9c186a4313649.tar.gz
volse-hubzilla-01aa9539516a5a530c017a5effc9c186a4313649.tar.bz2
volse-hubzilla-01aa9539516a5a530c017a5effc9c186a4313649.zip
rework fallback themes, glob pattern was wrong
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 3d0d5098d..78e1dac6a 100644
--- a/boot.php
+++ b/boot.php
@@ -1392,7 +1392,7 @@ if(! function_exists('proc_run')) {
if(! function_exists('current_theme')) {
function current_theme(){
- $app_base_themes = array('duepuntozero', 'loozah');
+ $app_base_themes = array('duepuntozero', 'dispy', 'quattro');
$a = get_app();
@@ -1410,7 +1410,7 @@ if(! function_exists('current_theme')) {
return($t);
}
- $fallback = glob('view/theme/*/style.[css|php]');
+ $fallback = array_merge(glob('view/theme/*/style.css'),glob('view/theme/*/style.php'));
if(count($fallback))
return (str_replace('view/theme/','', substr($fallback[0],0,-10)));