diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-08-22 14:28:33 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-08-22 14:28:33 -0700 |
commit | 39df2a475e66e2068fc2a4e3c069874f6ee6e7c1 (patch) | |
tree | 6ce0a32d4a4d5e05e999e8d2e6b4cf46939ffdf6 /boot.php | |
parent | 7c34911b1c9166cc781a316e9c4b933c05623637 (diff) | |
download | volse-hubzilla-39df2a475e66e2068fc2a4e3c069874f6ee6e7c1.tar.gz volse-hubzilla-39df2a475e66e2068fc2a4e3c069874f6ee6e7c1.tar.bz2 volse-hubzilla-39df2a475e66e2068fc2a4e3c069874f6ee6e7c1.zip |
add load_pdl hook for plugins
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1990,6 +1990,11 @@ function load_pdl(&$a) { require_once('include/comanche.php'); if (! count($a->layout)) { + + $arr = array('module' => $a->module, 'layout' => ''); + call_hooks('load_pdl',$arr); + $s = $arr['layout']; + $n = 'mod_' . $a->module . '.pdl' ; $u = comanche_get_channel_id(); if($u) |