diff options
author | redmatrix <git@macgirvin.com> | 2016-01-14 20:51:59 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-14 20:51:59 -0800 |
commit | f888548e0e722933e5b03b49fd5e19dd6e55743e (patch) | |
tree | 7f3bd1471595f2e96a574c542712aea84e5f70c7 /boot.php | |
parent | 6ff192c4ead307b65df793a138f9c1e18de81e5f (diff) | |
download | volse-hubzilla-f888548e0e722933e5b03b49fd5e19dd6e55743e.tar.gz volse-hubzilla-f888548e0e722933e5b03b49fd5e19dd6e55743e.tar.bz2 volse-hubzilla-f888548e0e722933e5b03b49fd5e19dd6e55743e.zip |
issue with plugin loadable layouts
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2004,12 +2004,14 @@ function load_pdl(&$a) { $arr = array('module' => $a->module, 'layout' => ''); call_hooks('load_pdl',$arr); - $s = $arr['layout']; + $layout = $arr['layout']; $n = 'mod_' . $a->module . '.pdl' ; $u = comanche_get_channel_id(); if($u) $s = get_pconfig($u, 'system', $n); + if(! $s) + $s = $layout; if((! $s) && (($p = theme_include($n)) != '')) $s = @file_get_contents($p); |