summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-07-10 23:50:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-07-10 23:50:16 +0200
commitd30b5fe2eff1fab2ac51625c696ae1732bd91946 (patch)
treef1aa92417a7d3381b72a1d0ebeea7e7779639ca9
parentabb9f39fa5052b7c3b01ee8b7eb37e776662f888 (diff)
Make javascript baseUrl honor subdirs
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/views/header.php2
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']