Welcome Guest, Not a member yet? Register   Sign In
how to access directory under: application
#4

[eluser]obiron2[/eluser]
doh!

You are right.

I created a helper which I always include with a function site_url() which returns "base_url() . application/".

then use site_url().images/img.jpg

you could of course include in the helper img_url(), css_url() etc..


You could put these in the config, but you would then lose them if you updated the CI installation.

hth

obiron


Messages In This Thread
how to access directory under: application - by El Forum - 09-24-2007, 05:41 AM
how to access directory under: application - by El Forum - 09-24-2007, 05:52 AM
how to access directory under: application - by El Forum - 09-24-2007, 05:58 AM
how to access directory under: application - by El Forum - 09-24-2007, 06:13 AM
how to access directory under: application - by El Forum - 09-24-2007, 06:15 AM
how to access directory under: application - by El Forum - 09-24-2007, 06:17 AM
how to access directory under: application - by El Forum - 09-24-2007, 06:34 AM
how to access directory under: application - by El Forum - 09-24-2007, 06:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB