mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 16:05:00 +02:00
[feature/avatars] Document the use of the allowed extensions array
PHPBB3-10018
This commit is contained in:
parent
5a4da46f9b
commit
f09e6865f7
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user