diff options
author | jeroenpraat <jeroenpraat@xs4all.nl> | 2016-03-09 23:25:37 +0100 |
---|---|---|
committer | jeroenpraat <jeroenpraat@xs4all.nl> | 2016-03-09 23:25:37 +0100 |
commit | bb09b8a38546538c28f7f3d0aa0d6e5506210c37 (patch) | |
tree | c38f9ff2d1947c8432125435d5f4d3d4fb8aee67 /doc | |
parent | b9b46a3f88d56f9ed6a89b34557abc27a7461449 (diff) | |
download | volse-hubzilla-bb09b8a38546538c28f7f3d0aa0d6e5506210c37.tar.gz volse-hubzilla-bb09b8a38546538c28f7f3d0aa0d6e5506210c37.tar.bz2 volse-hubzilla-bb09b8a38546538c28f7f3d0aa0d6e5506210c37.zip |
Update doc
Diffstat (limited to 'doc')
-rw-r--r-- | doc/DerivedTheme1.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/DerivedTheme1.md b/doc/DerivedTheme1.md index 23f2916a4..3db86b6e7 100644 --- a/doc/DerivedTheme1.md +++ b/doc/DerivedTheme1.md @@ -79,8 +79,8 @@ If you want to use the redbasic schemas for your derived theme, you have to do a Do everything as above, but don't create view/theme/mytheme/php/style.php, but copy instead view/theme/redbasic/php/style.php to view/theme/mytheme/php/style.php. Modify that file and remove (or comment out) these two lines: - if($a->channel['channel_theme'] != 'redbasic') - set_pconfig(local_channel(), 'redbasic', 'schema', '---'); + if(local_channel() && $a->channel && $a->channel['channel_theme'] != 'redbasic') + set_pconfig(local_channel(), 'redbasic', 'schema', '---'); Also add this line at the bottom: |