diff --git a/private/beam.php b/private/beam.php index 60e14bf..4bc0a58 100644 --- a/private/beam.php +++ b/private/beam.php @@ -39,7 +39,7 @@ switch (true) { break; default: - redirect(make_url("result/beam.php")); + redirect(make_url("result/beam.php?error=3")); break; } diff --git a/res/templates/coin/death-3.html b/res/templates/coin/death-3.html new file mode 100644 index 0000000..ab483c0 --- /dev/null +++ b/res/templates/coin/death-3.html @@ -0,0 +1,2 @@ +

Couldn’t save your coin; this is likely a configuration error.

+

Does insert-coin have access to the coin directory?

diff --git a/result/beam.php b/result/beam.php index d63e971..17181aa 100644 --- a/result/beam.php +++ b/result/beam.php @@ -26,6 +26,11 @@ switch (true) { "coin/death-2.html", $file_beam_die_alt, $file_beam_die_img); break; + case ($error == 3): + create_page($item . " on fire", + "coin/death-3.html", + $file_beam_die_alt, $file_beam_die_img); + break; default: create_page($item . " on fire", "coin/death.html",