From 5c181bc5289c54322d61dcc008e539f7c32e882b Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sun, 4 Jun 2006 16:30:58 +0000 Subject: - 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 --- phpBB/includes/acm/acm_file.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/acm') 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; } -- cgit v1.2.1