CC-3230: Show appropriate error message if disk is full when attempting to upload files via the web UI
Modified the error message to prepend a The, simple change.
This commit is contained in:
parent
d495eac326
commit
5d02581d38
|
@ -911,7 +911,7 @@ class Application_Model_StoredFile {
|
||||||
if ($r === false) {
|
if ($r === false) {
|
||||||
#something went wrong likely there wasn't enough space in the audio_stor to move the file too.
|
#something went wrong likely there wasn't enough space in the audio_stor to move the file too.
|
||||||
#warn the user that the file wasn't uploaded and they should check if there is enough disk space.
|
#warn the user that the file wasn't uploaded and they should check if there is enough disk space.
|
||||||
die('{"jsonrpc" : "2.0", "error" : {"code": 101, "message": "File was not uploaded, this error will occur if the computer hard drive does not have enough disk space."}}');
|
die('{"jsonrpc" : "2.0", "error" : {"code": 101, "message": "The file was not uploaded, this error will occur if the computer hard drive does not have enough disk space."}}');
|
||||||
}
|
}
|
||||||
|
|
||||||
//$r = @copy($audio_file, $audio_stor);
|
//$r = @copy($audio_file, $audio_stor);
|
||||||
|
|
Loading…
Reference in New Issue