diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-07-10 23:50:16 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-07-10 23:50:16 +0200 |
commit | d30b5fe2eff1fab2ac51625c696ae1732bd91946 (patch) | |
tree | f1aa92417a7d3381b72a1d0ebeea7e7779639ca9 /application/views/header.php | |
parent | abb9f39fa5052b7c3b01ee8b7eb37e776662f888 (diff) |
Make javascript baseUrl honor subdirs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/header.php')
-rw-r--r-- | application/views/header.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/header.php b/application/views/header.php index 6e7ef3a92..081f91820 100644 --- a/application/views/header.php +++ b/application/views/header.php @@ -31,7 +31,7 @@ if (is_cli_client() && !isset($force_full_html)) { /* <![CDATA[ */ window.appConfig = {}; require.config({ - baseUrl: '/data/js', + baseUrl: '<?php echo base_url('/data/js'); ?>', urlArgs: '<?php echo js_cache_buster(); ?>', paths: { 'main': ['main.min', 'main'] |