aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/php/style.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-07 21:48:12 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-07 21:48:12 +0100
commit6824fb9f935e1e2a5405571a08b4c1a3c43a7768 (patch)
treed7334b7118fbce55f954017ca3395d5d43f863b6 /view/theme/redbasic/php/style.php
parentb2216f82036e9ea6baab6db68899e4bafa732d65 (diff)
parent0799a0a3be3ceebbee2551e4dcb201651f73206e (diff)
downloadvolse-hubzilla-6824fb9f935e1e2a5405571a08b4c1a3c43a7768.tar.gz
volse-hubzilla-6824fb9f935e1e2a5405571a08b4c1a3c43a7768.tar.bz2
volse-hubzilla-6824fb9f935e1e2a5405571a08b4c1a3c43a7768.zip
Merge branch 'master' of https://github.com/redmatrix/hubzilla
Diffstat (limited to 'view/theme/redbasic/php/style.php')
-rw-r--r--view/theme/redbasic/php/style.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index 0ca47b1fb..ef1450681 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -215,3 +215,8 @@ if($align_left && file_exists('view/theme/redbasic/css/align_left.css')) {
if($schemecss) {
echo $schemecss;
}
+
+// Set the schema to the default schema in derived themes. See the documentation for creating derived themes how to override this.
+
+if($a->channel['channel_theme'] != 'redbasic')
+ set_pconfig(local_channel(), 'redbasic', 'schema', '---');