fix returned url
This commit is contained in:
parent
7ecf840d40
commit
2c1c9e025c
@ -115,7 +115,7 @@ try {
|
|||||||
if (move_uploaded_file($_FILES["sharex"]["tmp_name"], $uploadDir . $finalName)) {
|
if (move_uploaded_file($_FILES["sharex"]["tmp_name"], $uploadDir . $finalName)) {
|
||||||
returnJson(array(
|
returnJson(array(
|
||||||
'status' => 'OK',
|
'status' => 'OK',
|
||||||
'url' => 'File uploaded successfully',
|
'url' => $finalName,
|
||||||
'timeTaken' => getTimeTaken()
|
'timeTaken' => getTimeTaken()
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user