Compare commits

..

No commits in common. "1d3b7bceba600fd51a692fa699cfbe29b848bd25" and "39b1dcf48d057f4373a7a2779ac111a51de03e34" have entirely different histories.

4 changed files with 3 additions and 10 deletions

View File

@ -39,7 +39,7 @@ switch (true) {
break; break;
default: default:
redirect(make_url("result/beam.php?error=3")); redirect(make_url("result/beam.php"));
break; break;
} }

View File

@ -5,8 +5,8 @@
// Return the absolute path to the project's root. // Return the absolute path to the project's root.
function get_project_root() function get_project_root()
{ {
return preg_replace("%" . $GLOBALS["root"] . ".*" . "%", return preg_replace("%" . $GLOBALS["root_name"] . ".*" . "%",
$GLOBALS["root"] . "/", $GLOBALS["root_name"] . "/",
getcwd()); getcwd());
} }

View File

@ -1,2 +0,0 @@
<p>Couldnt save your coin; this is likely a configuration error.</p>
<p>Does insert-coin have access to the coin directory?</p>

View File

@ -26,11 +26,6 @@ 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",