mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge branch 'ticket/p/10014' into develop-olympus
* ticket/p/10014: [ticket/10014] Clearly indicate fatal errors in file acm.
This commit is contained in:
commit
b414a4d107
1 changed files with 2 additions and 2 deletions
|
@ -88,11 +88,11 @@ class acm
|
||||||
if (!phpbb_is_writable($this->cache_dir))
|
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())
|
// 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;
|
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;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue