aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-13 04:47:06 -0800
committerfriendica <info@friendica.com>2012-12-13 04:47:06 -0800
commitc360565d0a52dc5e9cc679703191e20373792dde (patch)
tree33c80b21a3f93c8cbb11a6dac162b8f186f09835 /index.php
parent4e192b108d9ba3837ae881799b4376550a476ebf (diff)
downloadvolse-hubzilla-c360565d0a52dc5e9cc679703191e20373792dde.tar.gz
volse-hubzilla-c360565d0a52dc5e9cc679703191e20373792dde.tar.bz2
volse-hubzilla-c360565d0a52dc5e9cc679703191e20373792dde.zip
get rid of undefined $ error by mangling theme specific JS include order
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);