Compare commits

...

6 Enmetoj

Author SHA1 Message Date
Shreyas Minocha 3d9b591a71 Fix config file bugs 2024-02-15 04:08:57 +00:00
Jaidyn Ann 75b782f5bd Re-add variable typo
… so that I can merge shreyasminocha’s PR, so they
get their commit in after so long. They apparently
noticed the type long before me, after all.
2024-02-14 22:08:55 -06:00
Jaidyn Ann 7c975181e7
Merge pull request #2 from shreyasminocha/grammar
Fix grammar error
2024-02-15 04:04:50 +00:00
Jaidyn Ann 1d3b7bceba Add file-upload error if lack of upload-dir/perms 2024-02-14 21:56:36 -06:00
Jaidyn Ann 37c4ce18f2 Fix variable typo 2024-02-14 21:50:41 -06:00
Jaidyn Ann 39b1dcf48d Update README 2024-01-29 00:55:44 -06:00
5 changed files with 13 additions and 6 deletions

View File

@ -28,6 +28,6 @@ of Lighttpd, read "docs/lighttpd.txt".
BORING STUFF BORING STUFF
---------------------------------------- ----------------------------------------
License is AGPLv3-- check COPYING.txt. License is AGPLv3-- check COPYING.txt.
Author is Jenga Phoenix <jadedctrl@teknik.io> Author is Jenga Phoenix <jadedctrl@posteo.at>
Permanent instance over at https://coinsh.red The flagship instance was https://coinsh.red, until it moved to distribute-coin.
Sauce is at https://git.eunichx.us/insert-coin.git Sauce is at https://hak.xwx.moe/jadedctrl//insert-coin

View File

@ -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;
} }

View File

@ -6,8 +6,8 @@
$site_name = "insert-coin"; // what the site will be called $site_name = "insert-coin"; // what the site will be called
$root = "/srv/www/htdocs/insert-coin"; // the absolute path of this instance $root_name = "/srv/www/htdocs/insert-coin"; // the absolute path of this instance
$webroot = "/insert-coin/" // path of instance relative to $webroot = "/insert-coin/"; // path of instance relative to
// web-root (I.E., how it looks in // web-root (I.E., how it looks in
// the URL without the hostname) // the URL without the hostname)

View File

@ -0,0 +1,2 @@
<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,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",