1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

[feature/avatars] Some more miscellaneous changes

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-12-27 20:42:05 +01:00
parent ea6bf00977
commit c865f98dcf
7 changed files with 28 additions and 28 deletions

View File

@@ -117,7 +117,7 @@ class phpbb_avatar_driver_remote extends phpbb_avatar_driver
if (!class_exists('fileupload'))
{
include_once($this->phpbb_root_path . 'includes/functions_upload' . $this->php_ext);
include($this->phpbb_root_path . 'includes/functions_upload' . $this->php_ext);
}
$types = fileupload::image_types();

View File

@@ -63,7 +63,7 @@ class phpbb_avatar_driver_upload extends phpbb_avatar_driver
if (!class_exists('fileupload'))
{
include_once($this->phpbb_root_path . 'includes/functions_upload' . $this->php_ext);
include($this->phpbb_root_path . 'includes/functions_upload' . $this->php_ext);
}
$upload = new fileupload('AVATAR_', array('jpg', 'jpeg', 'gif', 'png'), $this->config['avatar_filesize'], $this->config['avatar_min_width'], $this->config['avatar_min_height'], $this->config['avatar_max_width'], $this->config['avatar_max_height'], (isset($this->config['mime_triggers']) ? explode('|', $this->config['mime_triggers']) : false));