Welcome Guest, Not a member yet? Register   Sign In
Linking to assets outside of the CodeIgniter directory?
#1

[eluser]yxxm[/eluser]
Hey All,

This is probably a simple solution (as in using absolute URLs), but I'm wondering if there's a better way to go about this.

Currently, my site structure is as follows:

SITE
administration (built with CI)
src
misc
uploads

Is there any way to reference (relatively, I guess) the uploads folder without relocating it into the administration directory?

If not, I'm wondering if there are any security risks involved with directly loading data via the front-end of this website if I did relocate the folder to the administration directory (e.g. access/security issues), as the backend (administration) is password-protected through the use of valid user credentials stored in the database and managed with CI's sessions.

I'm open to suggestions as well, if applicable!

Thanks in advance!




Theme © iAndrew 2016 - Forum software by © MyBB