mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-17 22:11:26 +02:00
[ticket/15311] Use cache directory if can't use system temp
PHPBB3-15311
This commit is contained in:
2
phpBB/phpbb/cache/driver/file.php
vendored
2
phpBB/phpbb/cache/driver/file.php
vendored
@@ -35,7 +35,7 @@ class file extends \phpbb\cache\driver\base
|
||||
global $phpbb_container;
|
||||
|
||||
$this->cache_dir = !is_null($cache_dir) ? $cache_dir : $phpbb_container->getParameter('core.cache_dir');
|
||||
$this->filesystem = new \phpbb\filesystem\filesystem();
|
||||
$this->filesystem = new \phpbb\filesystem\filesystem('');
|
||||
|
||||
if (!is_dir($this->cache_dir))
|
||||
{
|
||||
|
Reference in New Issue
Block a user