mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/10941] Added some comments for clarification
PHPBB3-10941
This commit is contained in:
@@ -21,6 +21,13 @@ class phpbb_mock_fileupload
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Copied verbatim from phpBB/includes/functions_upload.php's fileupload
|
||||
* class to ensure the correct behaviour of filespec::move_file.
|
||||
*
|
||||
* Maps file extensions to the constant in second index of the array
|
||||
* returned by getimagesize()
|
||||
*/
|
||||
public function image_types()
|
||||
{
|
||||
return array(
|
||||
|
Reference in New Issue
Block a user