With file cache layer, when having several sites to share common phorum source dir while they have different database config, cache data could overlap between sites as it uses following code to detect actual cache dir
And FILE would be the same in such case. Should there be a way to avoid such situation other than hack or changing cache dir (for example, if user wants to save space for storing identical compiled templates)?
Same for apc and memcached layers - they are storing data under "$type_$key" keys without any check what is current site (even not md5(__FILE)).
Reported by: Alexey Torkhov email@example.com
Imported from TRAC: http://trac.phorum.org/ticket/790
I would recommend to just change the cache-dir in the settings.
just that couple of compiled template files isn't worth keeping them in one place.
I think we should fix this for at least memcached and apc, maybe also in the file layer while we are at it, in 5.3.