From 39df2a475e66e2068fc2a4e3c069874f6ee6e7c1 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 22 Aug 2015 14:28:33 -0700 Subject: add load_pdl hook for plugins --- boot.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'boot.php') 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) -- cgit v1.2.3