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
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ function wall_attach_post(&$a) {
*/
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);
killme();
}