mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10014] Clearly indicate fatal errors in file acm.
This commit is contained in:
commit
8376bf2807
1 changed files with 2 additions and 2 deletions
4
phpBB/includes/cache/driver/file.php
vendored
4
phpBB/includes/cache/driver/file.php
vendored
|
@ -88,11 +88,11 @@ class phpbb_cache_driver_file extends phpbb_cache_driver_base
|
|||
if (!phpbb_is_writable($this->cache_dir))
|
||||
{
|
||||
// We need to use die() here, because else we may encounter an infinite loop (the message handler calls $cache->unload())
|
||||
die($this->cache_dir . ' is NOT writable.');
|
||||
die('Fatal: ' . $this->cache_dir . ' is NOT writable.');
|
||||
exit;
|
||||
}
|
||||
|
||||
die('Not able to open ' . $this->cache_dir . 'data_global.' . $phpEx);
|
||||
die('Fatal: Not able to open ' . $this->cache_dir . 'data_global.' . $phpEx);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue