diff --git a/index.php b/index.php index 1eb1660..ed618c2 100644 --- a/index.php +++ b/index.php @@ -47,10 +47,10 @@ if(isset($_POST['submit'])){ if($core->FileSizeVerification($_FILES["fileToUpload"])){ $newfilename = $core->FileNameConvertor($_FILES["fileToUpload"]); if($core->UploadFile($_FILES["fileToUpload"], $newfilename)){ - $destination = base64_encode(file_url_destination.'/'.file_destination.'/'.$newfilename); + $destination = base64_encode(file_destination.'/'.$newfilename); ?>