Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Change Cache Directory

tsabattsabat New
edited October 2010 in Vanilla 2.0 - 2.8
Hi ya'll. Running 2.13 and I can't get the cache directory to change. I've set

$Configuration['Cache']['Filecache']['Store'] = '/myAwesomePath/';

in config.php but I've had no luck. I also have

$Configuration['Cache']['Enabled'] = TRUE; $Configuration['Cache']['Method'] = 'filecache';

in config-defaults.php but files are still writing to /forums/cache/[Smarty/compile]

Here are the changes I've tried:
* with /myAwesomePath/Smaty/compile/
* without the above

Also, I always end up with controller_map.ini, library_map.in and locale_map.ini in there as well. I want all these (as well as the smarty cache) to go to /myAwesomePath/

Am I missing something here?
Tagged:

Comments

  • TimTim Vanilla Staff
    Yes you are.

    Those settings are for the (currently unused) atomic file cache. If you want to change the cache/ folder location, you must edit conf/constants.php. You're looking for:

    define('PATH_CACHE', PATH_ROOT . DS . 'cache');

    Vanilla Forums COO [GitHub, Twitter, About.me]

Sign In or Register to comment.