]> git.mxchange.org Git - friendica.git/blobdiff - mod/wall_attach.php
Merge pull request #1453 from annando/ddos-with-gprobe
[friendica.git] / mod / wall_attach.php
index ad391856f0bab502cf77d3bcb8d8e1dcb6f7faf4..646a776a4ab6d73e7c6aeea3fb1728fc684fae10 100644 (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();
        }