From 18defb2984db8447a43de6bcffb3bdc5e596a8e0 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 8 Dec 2013 15:26:02 +0100 Subject: Include bootstrap --- view/php/theme_init.php | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'view/php/theme_init.php') diff --git a/view/php/theme_init.php b/view/php/theme_init.php index 0867c989d..f2f0af5f1 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -1,19 +1,22 @@ get_channel(); +if($channel && file_exists($channel['channel_address'] . '.js')) + head_add_js('/' . $channel['channel_address'] . '.js'); -- cgit v1.2.3