mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 07:21:30 +02:00
- fixing some bugs
- removing utf8 characters from email files (has been discussed internally, you guys know why) - making sure some opendir calls are checked before calling readdir. git-svn-id: file:///svn/phpbb/trunk@6912 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -215,7 +215,13 @@ class install_convert extends module
|
||||
$convertors = $sort = array();
|
||||
$get_info = true;
|
||||
|
||||
$handle = opendir('./convertors/');
|
||||
$handle = @opendir('./convertors/');
|
||||
|
||||
if (!$handle)
|
||||
{
|
||||
$this->error('Unable to access the convertors directory', __LINE__, __FILE__);
|
||||
}
|
||||
|
||||
while ($entry = readdir($handle))
|
||||
{
|
||||
if (preg_match('/^convert_([a-z0-9_]+).' . $phpEx . '/i', $entry, $m))
|
||||
|
Reference in New Issue
Block a user