aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-06 18:37:02 -0800
committerfriendica <info@friendica.com>2013-11-06 18:37:02 -0800
commitdf4c9171207065f32db52c910f86e5ef277eaa1f (patch)
tree381080576bec52bf44644f3934a9fba923c2f12b /view/theme/redbasic/php/style.php
parent6162de142c2765c770f43bf269f0444310551705 (diff)
parentc2cf3254c8e05161eb3f78d92d74aeaa7e3ac72a (diff)
downloadvolse-hubzilla-df4c9171207065f32db52c910f86e5ef277eaa1f.tar.gz
volse-hubzilla-df4c9171207065f32db52c910f86e5ef277eaa1f.tar.bz2
volse-hubzilla-df4c9171207065f32db52c910f86e5ef277eaa1f.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 6a1b9c65e..716a2dd9e 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -33,10 +33,13 @@
// Setting $scheme to '' wasn't working for some reason, so we'll check it's
// not --- like the mobile theme does instead.
- if (($schema) && ($schema != '---')) {
+ if (($schema) && ($schema != '---')) {
+ // Check it exists, because this setting gets distributed to clones
+ if(file_exists('view/theme/redbasic/schema/' . $schema . '.php')) {
$schemefile = 'view/theme/redbasic/schema/' . $schema . '.php';
require_once ($schemefile);
}
+ }
// If we haven't got a schema, load the default. We shouldn't touch this - we
// should leave it for admins to define for themselves.
if (! $schema) {