diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-02-13 01:07:02 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-02-13 01:07:02 +0100 |
commit | f09e6865f70b7b3dfedd2d436396a555a29ebe10 (patch) | |
tree | 0cc6b1fbb42a94ded0a7e2af9a9b9943c4cce934 /phpBB/includes/avatar/driver | |
parent | 5a4da46f9bdadbd1744f78b39c68184b317df60b (diff) | |
download | forums-f09e6865f70b7b3dfedd2d436396a555a29ebe10.tar forums-f09e6865f70b7b3dfedd2d436396a555a29ebe10.tar.gz forums-f09e6865f70b7b3dfedd2d436396a555a29ebe10.tar.bz2 forums-f09e6865f70b7b3dfedd2d436396a555a29ebe10.tar.xz forums-f09e6865f70b7b3dfedd2d436396a555a29ebe10.zip |
[feature/avatars] Document the use of the allowed extensions array
PHPBB3-10018
Diffstat (limited to 'phpBB/includes/avatar/driver')
-rw-r--r-- | phpBB/includes/avatar/driver/driver.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/includes/avatar/driver/driver.php b/phpBB/includes/avatar/driver/driver.php index a116155fd3..29c58d4e62 100644 --- a/phpBB/includes/avatar/driver/driver.php +++ b/phpBB/includes/avatar/driver/driver.php @@ -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', |