1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/17053] Add simple check for writable cache directory

PHPBB3-17053
This commit is contained in:
Marc Alexander
2023-07-03 21:40:36 +02:00
parent 5f825002b6
commit add6d2b726
2 changed files with 9 additions and 1 deletions

View File

@@ -420,7 +420,7 @@ class container_builder
*
* @return string Path to the cache directory.
*/
protected function get_cache_dir()
public function get_cache_dir()
{
return $this->cache_dir ?: $this->phpbb_root_path . 'cache/' . $this->get_environment() . '/';
}