Add file-upload error if lack of upload-dir/perms
This commit is contained in:
parent
37c4ce18f2
commit
1d3b7bceba
|
@ -39,7 +39,7 @@ switch (true) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
redirect(make_url("result/beam.php"));
|
redirect(make_url("result/beam.php?error=3"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
<p>Couldn’t save your coin; this is likely a configuration error.</p>
|
||||||
|
<p>Does insert-coin have access to the coin directory?</p>
|
|
@ -26,6 +26,11 @@ switch (true) {
|
||||||
"coin/death-2.html",
|
"coin/death-2.html",
|
||||||
$file_beam_die_alt, $file_beam_die_img);
|
$file_beam_die_alt, $file_beam_die_img);
|
||||||
break;
|
break;
|
||||||
|
case ($error == 3):
|
||||||
|
create_page($item . " on fire",
|
||||||
|
"coin/death-3.html",
|
||||||
|
$file_beam_die_alt, $file_beam_die_img);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
create_page($item . " on fire",
|
create_page($item . " on fire",
|
||||||
"coin/death.html",
|
"coin/death.html",
|
||||||
|
|
Ŝarĝante…
Reference in New Issue