From c360565d0a52dc5e9cc679703191e20373792dde Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 13 Dec 2012 04:47:06 -0800 Subject: get rid of undefined $ error by mangling theme specific JS include order --- index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.php') 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); -- cgit v1.2.3