From 7a5213cc8e7aee131df4347442b05c56c47a3fac Mon Sep 17 00:00:00 2001 From: Jeroen van Riet Paap Date: Mon, 7 Mar 2016 17:03:02 +0100 Subject: Set the schema to the default schema in derived themes. See the documentation for creating derived themes how to override this. --- view/theme/redbasic/php/style.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'view/theme') 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', '---'); -- cgit v1.2.3