mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-18 16:18:04 +00:00
Created helpers directory
This commit is contained in:
16
helpers/userData.php
Normal file
16
helpers/userData.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* User data helper
|
||||
*
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
/**
|
||||
* Get and returns the URL path to an userdata file
|
||||
*
|
||||
* @param String $fileURI Optionnal, defines the URI pointing on the file
|
||||
* @return String The full URL to the userdata file
|
||||
*/
|
||||
function path_user_data($fileURI = ""){
|
||||
return CS::get()->config->get("storage_url").$fileURI;
|
||||
}
|
Reference in New Issue
Block a user