diff options
author | Nils Adermann <naderman@naderman.de> | 2006-06-04 16:30:58 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-06-04 16:30:58 +0000 |
commit | 5c181bc5289c54322d61dcc008e539f7c32e882b (patch) | |
tree | 440352ec19a1035388d00945da85a38731e04897 /phpBB/includes/acm | |
parent | f3499d12518c38082c2ecf60958e7336195a941b (diff) | |
download | forums-5c181bc5289c54322d61dcc008e539f7c32e882b.tar forums-5c181bc5289c54322d61dcc008e539f7c32e882b.tar.gz forums-5c181bc5289c54322d61dcc008e539f7c32e882b.tar.bz2 forums-5c181bc5289c54322d61dcc008e539f7c32e882b.tar.xz forums-5c181bc5289c54322d61dcc008e539f7c32e882b.zip |
- permission trace correctly uses language variables now
- updated documentation for the auth class
- use cache for "SELECT forum_name FROM phpbb_forums WHERE forum_id = X" queries everywhere and not only in functions_display
- updated the permission trace to include information about global settings overwriting local ones
- take global permissions into account for local permission results on the view permission pages for users
- only allow to change the post author with m_chgposter
git-svn-id: file:///svn/phpbb/trunk@6009 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acm')
-rw-r--r-- | phpBB/includes/acm/acm_file.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acm/acm_file.php b/phpBB/includes/acm/acm_file.php index 69b89a4e2d..c5c5420c70 100644 --- a/phpBB/includes/acm/acm_file.php +++ b/phpBB/includes/acm/acm_file.php @@ -86,7 +86,7 @@ class acm include($this->cache_dir . $entry); if ($expired) { - unlink($this->cache_dir . $entry); + @unlink($this->cache_dir . $entry); } } @closedir($dir); @@ -174,7 +174,7 @@ class acm if (preg_match('#/\*.*?\W' . $regex . '\W.*?\*/#s', $file, $m)) { - unlink($this->cache_dir . $entry); + @unlink($this->cache_dir . $entry); } } @closedir($dir); @@ -271,7 +271,7 @@ class acm } else if ($expired) { - unlink($this->cache_dir . 'sql_' . md5($query) . ".$phpEx"); + @unlink($this->cache_dir . 'sql_' . md5($query) . ".$phpEx"); return false; } |