[FileCache] Add property to define cache folder

This commit is contained in:
logmanoriginal 2016-10-08 16:03:08 +02:00
parent 5639b158e7
commit 2d56b717cf
2 changed files with 30 additions and 9 deletions

View file

@ -130,6 +130,7 @@ try {
// Initialize cache
$cache = Cache::create('FileCache');
$cache->setPath(__DIR__ . '/cache');
$cache->purgeCache();
$cache->setParameters($params);