Welcome Guest, Not a member yet? Register   Sign In
Cross linking in sub classes
#2

[eluser]thinkigniter[/eluser]
Hi bigdaddysheikh,

If I understand you correctly this may help.

I have my css, js, images in the root of my CI folder eg.

with \system\application\MY_APP as my path

I would have...
\system\assets\js\my.js
\system\assets\css\my.css
\system\assets\images\my.jpg

In my views I have link my assets via...
\asset\js\my.js
etc.

This works well for me because I'm not giving away my REAL path in my link.

There for improving my site security.


Messages In This Thread
Cross linking in sub classes - by El Forum - 07-16-2008, 10:42 AM
Cross linking in sub classes - by El Forum - 07-16-2008, 05:08 PM
Cross linking in sub classes - by El Forum - 07-16-2008, 09:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB