@@ -168,4 +168,12 @@ class Cache extends BaseConfig
|
||||
'redis' => RedisHandler::class,
|
||||
'wincache' => WincacheHandler::class,
|
||||
];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
if (ENVIRONMENT === 'testing') {
|
||||
$this->storePath = WRITEPATH . 'cache/testing/';
|
||||
$this->file['storePath'] = WRITEPATH . 'cache/testing/';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user