Welcome Guest, Not a member yet? Register   Sign In
How do you keep your app together if you want to put some parts of it outside the document root?
#3

[eluser]eoinmcg[/eluser]
what i usually do is something like:

/path/to/site/
|+application/
|~public/
| |+assets/
| |+uploads/
| |-index.php
| `-robots.txt
|+system/

where /path/to/site/public is the document root.
so application and system are both below the root and not publicly visible. i keep css, images, javascript etc in assets.

with this approach you can still just copy the /path/to/site/ folder to your thumb drive in one neat package.


Messages In This Thread
How do you keep your app together if you want to put some parts of it outside the document root? - by El Forum - 04-15-2011, 05:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB