Move Stash cache to separated directory

This commit is contained in:
Dmitriy Simushev 2014-11-11 10:31:51 +00:00
parent d27633fc28
commit f8909d5e8c

View File

@ -37,7 +37,7 @@ $router->setOption(
// Prepare files cache
$cache_driver = new \Stash\Driver\FileSystem();
$cache_driver->setOptions(array('path' => MIBEW_FS_ROOT . '/cache'));
$cache_driver->setOptions(array('path' => MIBEW_FS_ROOT . '/cache/stash'));
$cache = new \Stash\Pool($cache_driver);
$application = new Application($router, new AuthenticationManager());