Added temporary replacing avatar

This commit is contained in:
Pierre
2017-05-25 15:24:41 +02:00
parent 83b0982068
commit e87ef113bb
2 changed files with 11 additions and 1 deletions

View File

@ -13,4 +13,14 @@
*/
function path_user_data($fileURI = ""){
return CS::get()->config->get("storage_url").$fileURI;
}
/**
* Get and return the URL path to a specified account image
*
* @param String $imageURI Optionnal, defines URI of the image
* @return String The full URL to the image account file
*/
function path_account_image($imageURI=""){
return path_user_data("avatars/".$imageURI);
}