Add 'plugi-core/' from commit '6c478c54d048ab2fd5af4e8e79074153fb594c16'
git-subtree-dir: plugi-core git-subtree-mainline:d4c734cdbdgit-subtree-split:6c478c54d0
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Plugi;
|
||||
|
||||
#[\AllowDynamicProperties]
|
||||
|
||||
class UploadedFile
|
||||
{
|
||||
/**
|
||||
* Return the URL of this uploaded file.
|
||||
*/
|
||||
public function getUrl()
|
||||
{
|
||||
return phpb_full_url(phpb_config('general.uploads_url') . '/' . $this->public_id . '/' . $this->original_file);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user