Update domains.php

This commit is contained in:
FusionPBX 2024-08-05 15:52:51 -06:00 committed by GitHub
parent 163403acc7
commit 032a24cb28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -648,10 +648,9 @@ if (!class_exists('domains')) {
//get the email queue settings
$setting = new settings(["domain_uuid" => $domain_uuid]);
//get the list of installed apps from the core and mod directories and execute the php code in app_defaults.php
//get the list of installed apps from the core and mod directories and run the php code in app_defaults.php
$default_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_defaults.php");
foreach ($default_list as &$default_path) {
//echo $default_path."<br />\n";
include($default_path);
}