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:
Jaidyn Ann 2024-02-14 22:07:24 -06:00
parent 7c975181e7
commit 75b782f5bd

View File

@ -5,8 +5,8 @@
// Return the absolute path to the project's root.
function get_project_root()
{
return preg_replace("%" . $GLOBALS["root"] . ".*" . "%",
$GLOBALS["root"] . "/",
return preg_replace("%" . $GLOBALS["root_name"] . ".*" . "%",
$GLOBALS["root_name"] . "/",
getcwd());
}