tags 437836 patch
thanks

Hi,

I wasn't completely satisfied with the previously proposed patch,
because it assumes one can't use a unique db for multiple forums, and
because it alters the "normal" (not multiboard) comportment. Anyway, I
found some more occurrences of hard-coded "cache", so I "corrected" them.

The attached patches suppose the existence of a new global variable
(named $url_forum here, feel free to propose a better name), and propose
to keep the data in a sub-directory : /cache/$url_forum/. If the global
variable $url_forum isn't defined in a "auto_prepend_file", the data
should be cached in the usual /cache// directory.

The same problem occurs with the /store/ directory, so I propose a
second patch in order to fix the comportment the same way.

Again, avatar/ and file/ will have a similar issue one can easily modify
in the database or inside the "administrator control panel" of phpBB (I
will propose a global documentation patch to #529707 assuming the
present bug is solved).

Regards

David


Attachment: phpbb3_cache.diff.gz
Description: application/gzip

Attachment: phpbb3_store.diff.gz
Description: application/gzip

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to