Compare commits

..

4 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
Shreyas Minocha b29aa34615
Fix grammar error 2020-06-07 19:11:12 +05:30
3 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

@ -4,5 +4,5 @@
<p><b><?php echo($GLOBALS["coin_url"]); ?></b></p>
<p>It's meta-stuff (or lack thereof) is
<p>Its meta stuff (or lack thereof) is
<a href="<?php echo($GLOBALS["coin_url"] . ".txt"); ?>">here</a></p>