From 7d179ba4c4b27a9479a042be323e29ffa1d54990 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 10 Dec 2013 14:58:13 -0800 Subject: look for comanche module pages using theme_include() --- boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 196ab0304..ce605adaf 100755 --- a/boot.php +++ b/boot.php @@ -1809,8 +1809,8 @@ function construct_page(&$a) { require_once('include/comanche.php'); - if(file_exists('view/pdl/mod_' . $a->cmd . '.pdl')) - comanche_parser($a,@file_get_contents('view/pdl/mod_' . $a->cmd . '.pdl')); + if(($p = theme_include('mod_' . $a->module . '.pdl')) != '') + comanche_parser($a,@file_get_contents($p)); $comanche = ((count($a->layout)) ? true : false); -- cgit v1.2.3