aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-10 14:58:13 -0800
committerfriendica <info@friendica.com>2013-12-10 14:58:13 -0800
commit7d179ba4c4b27a9479a042be323e29ffa1d54990 (patch)
tree542fee69df1cd95140f3bd623ec671dc2ad5bc3d /boot.php
parent65e4fa3dcba55659b6fb38d5d212a5a2bda68099 (diff)
downloadvolse-hubzilla-7d179ba4c4b27a9479a042be323e29ffa1d54990.tar.gz
volse-hubzilla-7d179ba4c4b27a9479a042be323e29ffa1d54990.tar.bz2
volse-hubzilla-7d179ba4c4b27a9479a042be323e29ffa1d54990.zip
look for comanche module pages using theme_include()
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php4
1 files changed, 2 insertions, 2 deletions
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);