From 75b782f5bd2b952e3247819c56a9b790dca2a660 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Wed, 14 Feb 2024 22:07:24 -0600 Subject: [PATCH] Re-add variable typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … 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. --- res/library/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/library/main.php b/res/library/main.php index 9a4ff65..12c54b9 100644 --- a/res/library/main.php +++ b/res/library/main.php @@ -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()); }