Welcome Guest, Not a member yet? Register   Sign In
base_url() in css and js
#5

[eluser]Aken[/eluser]
A beginning slash means start looking from the web root folder.

/assets = example.com/assets
/subfolder/assets = example.com/subfolder/assets

Should tell you why that didn't work.

There's nothing wrong with having the full URL in links to assets. However it could cause conflicts if you want to implement SSL, which will have a different URL. Depends on how you intend to use the site.


Messages In This Thread
base_url() in css and js - by El Forum - 08-13-2012, 05:45 AM
base_url() in css and js - by El Forum - 08-13-2012, 07:58 AM
base_url() in css and js - by El Forum - 08-13-2012, 08:09 AM
base_url() in css and js - by El Forum - 08-13-2012, 10:17 AM
base_url() in css and js - by El Forum - 08-13-2012, 05:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB