mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-22 19:15:33 +02:00
[feature/avatars] Document the use of the allowed extensions array
PHPBB3-10018
This commit is contained in:
@ -52,7 +52,12 @@ abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
|
||||
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(
|
||||
'gif',
|
||||
|
Reference in New Issue
Block a user