1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-13 20:44:43 +01: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:
Meik Sievertsen 2006-09-24 14:43:33 +00:00
parent 46c961b5f5
commit 287fe750ea

View File

@ -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;
}