Fix variable typo

This commit is contained in:
Jaidyn Ann 2024-02-14 21:50:41 -06:00
parent 39b1dcf48d
commit 37c4ce18f2

View File

@ -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());
} }