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.
|
||||
function get_project_root()
|
||||
{
|
||||
return preg_replace("%" . $GLOBALS["root_name"] . ".*" . "%",
|
||||
$GLOBALS["root_name"] . "/",
|
||||
return preg_replace("%" . $GLOBALS["root"] . ".*" . "%",
|
||||
$GLOBALS["root"] . "/",
|
||||
getcwd());
|
||||
}
|
||||
|
||||
|
|
Ŝarĝante…
Reference in New Issue