From d8acec2630d020f8152197b56b439dd603a7820d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 21 Oct 2022 12:28:14 -0600 Subject: [PATCH] Update install.php --- core/install/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/install/install.php b/core/install/install.php index 656361b7a4..9c543d32e5 100644 --- a/core/install/install.php +++ b/core/install/install.php @@ -25,7 +25,7 @@ */ //set the include path - $document_root = substr(getcwd(), 0, strlen($document_root) - strlen('/core/install')); + $document_root = substr(getcwd(), 0, strlen(getcwd()) - strlen('/core/install')); set_include_path($document_root); $_SERVER["DOCUMENT_ROOT"] = $document_root; $_SERVER["PROJECT_ROOT"] = $document_root;