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
tsabat
New
Hi ya'll. Running 2.13 and I can't get the cache directory to change. I've set
in config.php but I've had no luck. I also have
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?
$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?
0
Comments
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]