mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-12 10:31:09 +03:00
Move Stash cache to separated directory
This commit is contained in:
parent
d27633fc28
commit
f8909d5e8c
@ -37,7 +37,7 @@ $router->setOption(
|
|||||||
|
|
||||||
// Prepare files cache
|
// Prepare files cache
|
||||||
$cache_driver = new \Stash\Driver\FileSystem();
|
$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);
|
$cache = new \Stash\Pool($cache_driver);
|
||||||
|
|
||||||
$application = new Application($router, new AuthenticationManager());
|
$application = new Application($router, new AuthenticationManager());
|
||||||
|
Loading…
Reference in New Issue
Block a user