mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Update w/ namespace
This commit is contained in:
parent
87352b8b42
commit
8cd2c59ca1
1 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,8 @@
|
|||
* @license https://github.com/raspap/raspap-webgui/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
namespace RaspAP\Uploader;
|
||||
|
||||
class Upload
|
||||
{
|
||||
|
||||
|
@ -130,7 +132,7 @@ class Upload
|
|||
throw new Exception('Upload: Unable to create destination. '.$this->root . $this->destination);
|
||||
}
|
||||
//create finfo object
|
||||
$this->finfo = new finfo();
|
||||
$this->finfo = new \finfo();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue