1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-23 00:32:57 +02:00

[feature/avatars] Docblock fixes and small change for php_ext

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-11-25 20:50:31 +01:00
parent a77fcdb5f9
commit 6522190ff1
4 changed files with 34 additions and 36 deletions

View File

@@ -82,7 +82,7 @@ class phpbb_avatar_driver_remote extends phpbb_avatar_driver
$url = 'http://' . $url;
}
require_once($this->phpbb_root_path . 'includes/functions_user' . $this->phpEx);
require_once($this->phpbb_root_path . 'includes/functions_user' . $this->php_ext);
$error = array_merge($error, validate_data(array(
'url' => $url,
@@ -128,7 +128,7 @@ class phpbb_avatar_driver_remote extends phpbb_avatar_driver
return false;
}
include_once($this->phpbb_root_path . 'includes/functions_upload' . $this->phpEx);
include_once($this->phpbb_root_path . 'includes/functions_upload' . $this->php_ext);
$types = fileupload::image_types();
$extension = strtolower(filespec::get_extension($url));