mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/15671] Load extensions from a variable instead of harcode it
PHPBB3-15671
This commit is contained in:
committed by
Marc Alexander
parent
4ff986f578
commit
dc397755d5
@@ -84,6 +84,7 @@ class upload extends \phpbb\avatar\driver\driver
|
||||
$template->assign_vars(array(
|
||||
'S_UPLOAD_AVATAR_URL' => ($this->config['allow_avatar_remote_upload']) ? true : false,
|
||||
'AVATAR_UPLOAD_SIZE' => $this->config['avatar_filesize'],
|
||||
'AVATAR_ALLOWED_EXTENSIONS' => $this->allowed_extensions,
|
||||
));
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user