diff options
author | friendica <info@friendica.com> | 2013-12-10 14:58:13 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-10 14:58:13 -0800 |
commit | 7d179ba4c4b27a9479a042be323e29ffa1d54990 (patch) | |
tree | 542fee69df1cd95140f3bd623ec671dc2ad5bc3d | |
parent | 65e4fa3dcba55659b6fb38d5d212a5a2bda68099 (diff) | |
download | volse-hubzilla-7d179ba4c4b27a9479a042be323e29ffa1d54990.tar.gz volse-hubzilla-7d179ba4c4b27a9479a042be323e29ffa1d54990.tar.bz2 volse-hubzilla-7d179ba4c4b27a9479a042be323e29ffa1d54990.zip |
look for comanche module pages using theme_include()
-rwxr-xr-x | boot.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |