aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 719e1ef8c..a4e8899d9 100644
--- a/index.php
+++ b/index.php
@@ -346,6 +346,9 @@ if($a->module != 'install') {
require_once(theme_include('theme_init.php'));
+if(($p = theme_include(current_theme() . '.js')) != '')
+ head_add_js($p);
+
if(($p = theme_include('mod_' . $a->module . '.php')) != '')
require_once($p);