mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
i am tired of the support requests for those having changed the permissions of the cache folder on an update (not intentionally most of the time though)
git-svn-id: file:///svn/phpbb/trunk@6403 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
46c961b5f5
commit
287fe750ea
1 changed files with 10 additions and 0 deletions
|
@ -80,6 +80,16 @@ class acm
|
|||
@flock($fp, LOCK_UN);
|
||||
fclose($fp);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Now, this occurred how often? ... phew, just tell the user then...
|
||||
if (!@is_writeable($this->cache_dir))
|
||||
{
|
||||
trigger_error($this->cache_dir . ' is NOT writeable.', E_USER_ERROR);
|
||||
}
|
||||
|
||||
trigger_error('Not able to open ' . $this->cache_dir . 'data_global.' . $phpEx, E_USER_ERROR);
|
||||
}
|
||||
|
||||
$this->is_modified = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue