diff options
| author | Fyorl <gaelreth@gmail.com> | 2012-07-08 02:15:48 +0100 |
|---|---|---|
| committer | Fyorl <gaelreth@gmail.com> | 2012-07-09 14:08:20 +0100 |
| commit | d89af53f6311d9f4cec60d136cf017df9e1a36cd (patch) | |
| tree | fba0bdb8f92b82f4c96230f5b340f070e3b55778 /tests/mock/fileupload.php | |
| parent | af8020b3885266a963583b465be58b557c928368 (diff) | |
| download | forums-d89af53f6311d9f4cec60d136cf017df9e1a36cd.tar forums-d89af53f6311d9f4cec60d136cf017df9e1a36cd.tar.gz forums-d89af53f6311d9f4cec60d136cf017df9e1a36cd.tar.bz2 forums-d89af53f6311d9f4cec60d136cf017df9e1a36cd.tar.xz forums-d89af53f6311d9f4cec60d136cf017df9e1a36cd.zip | |
[ticket/10941] Added some comments for clarification
PHPBB3-10941
Diffstat (limited to 'tests/mock/fileupload.php')
| -rw-r--r-- | tests/mock/fileupload.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/mock/fileupload.php b/tests/mock/fileupload.php index 817b090346..409036ba63 100644 --- a/tests/mock/fileupload.php +++ b/tests/mock/fileupload.php @@ -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( |
