mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[feature/avatars] Document the use of the allowed extensions array
PHPBB3-10018
This commit is contained in:
parent
5a4da46f9b
commit
f09e6865f7
1 changed files with 6 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue