Now more friendly error message. Will tomorrow add a german translation.

David
This commit is contained in:
David 2014-04-25 06:29:03 +02:00
parent 8f78e8dbed
commit 741aab0916

View file

@ -72,7 +72,7 @@ function wall_attach_post(&$a) {
*/ */
if($filesize <=0) { if($filesize <=0) {
notice(t('$filesize <= 0; upload refused') . EOL); notice(t('Sorry, maybe your upload is bigger than the PHP configuration allows') . EOL .(t('Or - did you try to upload an empty file?')) . EOL);
@unlink($src); @unlink($src);
killme(); killme();
} }