aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-22 14:28:33 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-22 14:28:33 -0700
commit39df2a475e66e2068fc2a4e3c069874f6ee6e7c1 (patch)
tree6ce0a32d4a4d5e05e999e8d2e6b4cf46939ffdf6 /boot.php
parent7c34911b1c9166cc781a316e9c4b933c05623637 (diff)
downloadvolse-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-xboot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 3577addc6..458d676d4 100755
--- a/boot.php
+++ b/boot.php
@@ -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)