mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- 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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user