change message

This commit is contained in:
Lee 2023-04-09 12:22:39 +01:00
parent 47256117d1
commit 78b3941c80

View File

@ -93,12 +93,12 @@ try {
returnJson('OK', $finalName, $timeTaken);
} else {
$timeTaken = microtime(true) - $before;
returnJson('ERROR', 'File upload failed. Does the folder exist and did you CHMOD the folder?', $timeTaken);
returnJson('ERROR', 'File upload failed. Does the upload folder exist and did you CHMOD the folder?', $timeTaken);
}
die();
}
returnJson('OK', $finalName, $timeTaken);
} catch (Exception $e) {
} catch (Exception $e) { // Handle any errors
$timeTaken = microtime(true) - $before;
returnJson('ERROR', $e->getMessage(), $timeTaken);
die();