Compare commits
4 Enmetoj
1d3b7bceba
...
3d9b591a71
Author | SHA1 | Date | |
---|---|---|---|
Shreyas Minocha | 3d9b591a71 | ||
Jaidyn Ann | 75b782f5bd | ||
Jaidyn Ann | 7c975181e7 | ||
Shreyas Minocha | b29aa34615 |
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
|
|
||||||
<p><b><?php echo($GLOBALS["coin_url"]); ?></b></p>
|
<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>
|
<a href="<?php echo($GLOBALS["coin_url"] . ".txt"); ?>">here</a></p>
|
||||||
|
|
Ŝarĝante…
Reference in New Issue