Compare commits
No commits in common. "3d9b591a71802ec7218b0941c173eb88899c7a7a" and "1d3b7bceba600fd51a692fa699cfbe29b848bd25" have entirely different histories.
3d9b591a71
...
1d3b7bceba
|
@ -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_name = "/srv/www/htdocs/insert-coin"; // the absolute path of this instance
|
$root = "/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_name"] . ".*" . "%",
|
return preg_replace("%" . $GLOBALS["root"] . ".*" . "%",
|
||||||
$GLOBALS["root_name"] . "/",
|
$GLOBALS["root"] . "/",
|
||||||
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>Its meta stuff (or lack thereof) is
|
<p>It's 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