diff options
author | zottel <github@zottel.net> | 2012-04-23 08:57:49 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-04-23 08:57:49 +0200 |
commit | e6847cdd3f6faf087dc7e738e1dbae7d70113451 (patch) | |
tree | 3746742dc12c2863c61c4c7cba8f4f9666590e49 /mod/settings.php | |
parent | 9663299da1be50eef4327778fae619fc6f9edef4 (diff) | |
parent | 2170df897b9dc72b87cc104520f6a67ddfbb994f (diff) | |
download | volse-hubzilla-e6847cdd3f6faf087dc7e738e1dbae7d70113451.tar.gz volse-hubzilla-e6847cdd3f6faf087dc7e738e1dbae7d70113451.tar.bz2 volse-hubzilla-e6847cdd3f6faf087dc7e738e1dbae7d70113451.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/settings.php')
-rw-r--r-- | mod/settings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/settings.php b/mod/settings.php index 721468437..8c8b3062d 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -696,8 +696,8 @@ function settings_content(&$a) { $allowed_themes_raw = explode(',',$allowed_themes_str); $allowed_themes = array(); if(count($allowed_themes_raw)) - foreach($allowed_themes_raw as $x) - if(strlen(trim($x))) + foreach($allowed_themes_raw as $x) + if(strlen(trim($x)) && is_dir("view/theme/$x")) $allowed_themes[] = trim($x); |