Fix variable typo
This commit is contained in:
parent
39b1dcf48d
commit
37c4ce18f2
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue