aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-22 19:51:08 -0700
committerfriendica <info@friendica.com>2012-08-22 19:51:08 -0700
commita9dabd8eb918436b57d9263ad3d635774455f28f (patch)
tree9f6a3c9fc4eaf3b48f4f953dcff8f09bac66f2c4 /index.php
parent136380fedec2037f004d6db2ff5384228797b3ee (diff)
downloadvolse-hubzilla-a9dabd8eb918436b57d9263ad3d635774455f28f.tar.gz
volse-hubzilla-a9dabd8eb918436b57d9263ad3d635774455f28f.tar.bz2
volse-hubzilla-a9dabd8eb918436b57d9263ad3d635774455f28f.zip
per module code file for themes
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');