Re: A patch to keep cache directory out of webroot

[email protected] (mikespub) Sun, 03 Oct 2004 17:18:18 GMT
Newsgroups gmane.comp.cms.xaraya.patches
Organization not much
Message-ID <[email protected]>
In article <[email protected]>, Chris Dudley <[email protected]> 
wrote:
>...
>There seems to be a need for both an area in the webroot and one that 
>isnt. e.g. imho the config files should not be in the webroot.
>
>Maybe some kind of definition of what the areas are and what 
>information/files should go where?
>
>miko

Indeed - in most cases, we can use a var outside the webroot, and therefore
all references to var/ should make use of that xarCoreGetVarDirPath() 
function. The few exceptions mentioned here can then be dealt with
separately.

Note that it should still be possible to have both var/ directories "overlap"
in case e.g. web servers do not allow any access outside the webroot.
That was in fact the original purpose :-)

Mike.