Re: A patch to keep cache directory out of webroot
Jonn Beames <[email protected]> Mon, 11 Oct 2004 09:18:08 -0700
| Newsgroups | gmane.comp.cms.xaraya.patches |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
mikespub wrote: > In article <[email protected]>, Jonn Beames <[email protected]> > wrote: > >>... >>(mostly just replacements of hardcoded var paths with calls to >>xarCoreGetVarDirPath()) >> >>This works, but I'm sure there are other ways to acheive the same goal. >> What do people say? All are welcome to participate in the process. >> >> - Jonn > > As mentioned earlier, we'll need to differentiate between "private" var/ > stuff and "public" var/ stuff in some cases. Perhaps we could use the > xarCoreGetVarDirPath() for the regular "private" var/, and use a separate > API for those few cases where a "public" var/something/whatever is needed ? > > Mike. If the "public" var/something/whatever needs to be writable, there's no point in having a "private" var somewhere else. What about, instead of creating an new API and rewriting mods to use it, we rewrite the mods to support a xarCoreGetVarDirPath() compatible, movable var directory? - Jonn