1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-08 23:45:20 +02:00

[feature/avatars] Document the use of the allowed extensions array

PHPBB3-10018
This commit is contained in:
Marc Alexander 2013-02-13 01:07:02 +01:00
parent 5a4da46f9b
commit f09e6865f7

View File

@ -52,7 +52,12 @@ abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
protected $cache; protected $cache;
/** /**
* Regex for allowed avatar image extensions * Array of allowed avatar image extensions
* Array is used for setting the allowed extensions in the fileupload class
* and as a base for a regex of allowed extensions, which will be formed by
* imploding the array with a "|".
*
* @var array
*/ */
protected $allowed_extensions = array( protected $allowed_extensions = array(
'gif', 'gif',