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.
This commit is contained in:
parent
7c975181e7
commit
75b782f5bd
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue