aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 15458e631..84fa1593a 100644
--- a/index.php
+++ b/index.php
@@ -324,6 +324,10 @@ if($a->module != 'install') {
require_once(theme_include('theme_init.php'));
+
+if(($p = theme_include('mod_' . $a->module . '.php')) != '')
+ require_once($p);
+
require_once('include/js_strings.php');
head_add_css(((x($a->page,'template')) ? $a->page['template'] : 'default' ) . '.css');