Re: Client helpers base URL
Is it possible to have the client helpers $base_url resolve the URL automatically rather than being hard coded. This is the one I'm talking about:
[img]http://i.imgur.com/ylmTi.png[/img]
While I'm on my home PC I need to have it set without a port number (as seen in the screenshot) but when I'm at work I need to have it set as http://hicks.192.168.1.101.xip.io:8101/indicia (don't worry about the weird URL - that's just to make it easier for me to access the warehouse from multiple devices on my local network). In Kohana's config.php I can set $config['site_domain'] = '/indicia'; and that works fine. Things only start to break down once the client helpers start pulling in jquery on the wrong domain. E.g.,
[img]http://i.imgur.com/6gdxx.png[/img]
Digital Development Manager | Field Studies Council
http://www.field-studies-council.org | https://twitter.com/charlesroper | https://twitter.com/fsc_digital