Compare commits
2 Enmetoj
39b1dcf48d
...
1d3b7bceba
Author | SHA1 | Date | |
---|---|---|---|
Jaidyn Ann | 1d3b7bceba | ||
Jaidyn Ann | 37c4ce18f2 |
|
@ -39,7 +39,7 @@ switch (true) {
|
|||
break;
|
||||
|
||||
default:
|
||||
redirect(make_url("result/beam.php"));
|
||||
redirect(make_url("result/beam.php?error=3"));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
// Return the absolute path to the project's root.
|
||||
function get_project_root()
|
||||
{
|
||||
return preg_replace("%" . $GLOBALS["root_name"] . ".*" . "%",
|
||||
$GLOBALS["root_name"] . "/",
|
||||
return preg_replace("%" . $GLOBALS["root"] . ".*" . "%",
|
||||
$GLOBALS["root"] . "/",
|
||||
getcwd());
|
||||
}
|
||||
|
||||
|
|
|
@ -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",
|
||||
$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",
|
||||
|
|
Ŝarĝante…
Reference in New Issue