1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Update w/ namespace

This commit is contained in:
billz 2021-07-04 11:16:21 +01:00
parent 87352b8b42
commit 8cd2c59ca1

View File

@ -12,6 +12,8 @@
* @license https://github.com/raspap/raspap-webgui/blob/master/LICENSE * @license https://github.com/raspap/raspap-webgui/blob/master/LICENSE
*/ */
namespace RaspAP\Uploader;
class Upload class Upload
{ {
@ -130,7 +132,7 @@ class Upload
throw new Exception('Upload: Unable to create destination. '.$this->root . $this->destination); throw new Exception('Upload: Unable to create destination. '.$this->root . $this->destination);
} }
//create finfo object //create finfo object
$this->finfo = new finfo(); $this->finfo = new \finfo();
} }
/** /**