Update install.php

This commit is contained in:
FusionPBX 2022-10-21 12:28:14 -06:00 committed by GitHub
parent 7485757458
commit d8acec2630
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;