Topic: How to change cache directory?

I all, I'm an italian programmer and I've this error:
"Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory 'cache'"

Unfortunately I can't change directory right to "777" 'cause is locked by my host (www.aruba.it).
I've only one public directory called "public" into my site root dir. Can I change PunBB "cache" directory to my "public" dir? How? The're a configuration file?

Tanks!!! smile

Max

Re: How to change cache directory?

Ok... now PunBB work correctly because I've simply changed 10-12 code lines...
I've a suggestion for PunBB developer:
you could create a simple CONSTANT called, for example, CACHE_DIR:

define('CACHE_DIR', '../../public');

and use this constant into "functions.php", "footer.php", "cache.php", "common.php" where "cache" directory are called...

In Italy thousand people who use www.aruba.it as provider/mantainer can't use PunBB!!!

Max

Re: How to change cache directory?

You can't change permissions for a subdirectory? What kind of a host is that? I can understand that one wouldn't be allowed to tinker with the permissions for the public web directory, but being able to change permissions for stuff below that is a must.

"Programming is like sex: one mistake and you have to support it for the rest of your life."