mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Replace the DOCUMENT_ROOT and PROJECT_ROOT variables
Use the __DIR__ constant and dirname as needed
This commit is contained in:
@@ -162,7 +162,7 @@ if ($domains_processed == 1) {
|
||||
if ($num_rows == 0) {
|
||||
|
||||
//get the vendor array
|
||||
require_once $_SERVER["DOCUMENT_ROOT"].'/'.PROJECT_PATH.'/app/devices/app_config.php';
|
||||
require_once dirname(__DIR__, 2).'/'.PROJECT_PATH.'/app/devices/app_config.php';
|
||||
|
||||
//get the groups and create an array to use the name to get the uuid
|
||||
$sql = "select * from v_groups ";
|
||||
|
||||
Reference in New Issue
Block a user