projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f78e8d
)
Now more friendly error message. Will tomorrow add a german translation.
author
David
<david@hpdv9700>
Fri, 25 Apr 2014 04:29:03 +0000
(06:29 +0200)
committer
David
<david@hpdv9700>
Fri, 25 Apr 2014 04:29:03 +0000
(06:29 +0200)
David
mod/wall_attach.php
patch
|
blob
|
history
diff --git
a/mod/wall_attach.php
b/mod/wall_attach.php
index ad391856f0bab502cf77d3bcb8d8e1dcb6f7faf4..646a776a4ab6d73e7c6aeea3fb1728fc684fae10 100644
(file)
--- a/
mod/wall_attach.php
+++ b/
mod/wall_attach.php
@@
-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();
}