Set the schema to the default schema in derived themes.

See the documentation for creating derived themes how to override this.
This commit is contained in:
Jeroen van Riet Paap 2016-03-07 17:03:02 +01:00
parent f1f19372ad
commit 7a5213cc8e

View File

@ -215,3 +215,8 @@ if($align_left && file_exists('view/theme/redbasic/css/align_left.css')) {
if($schemecss) { if($schemecss) {
echo $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', '---');