aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);