This repository was archived by the owner on Jul 27, 2023. It is now read-only.
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
How to return false? #104
Closed
Description
I am from Russia and I write through an interpreter.
I need to return false under certain conditions and output an error for the user. how to do it? I try this way:
Return Json :: encode (['files' => [], 'error' => 'The file exceeds the permissible size in XXX MB']);
But still in the console I see that the 'fileuploaddone' method works. Go out mistake.Empty file upload result. Please help me!