Update domains.php
This commit is contained in:
parent
163403acc7
commit
032a24cb28
|
|
@ -648,10 +648,9 @@ if (!class_exists('domains')) {
|
||||||
//get the email queue settings
|
//get the email queue settings
|
||||||
$setting = new settings(["domain_uuid" => $domain_uuid]);
|
$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");
|
$default_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_defaults.php");
|
||||||
foreach ($default_list as &$default_path) {
|
foreach ($default_list as &$default_path) {
|
||||||
//echo $default_path."<br />\n";
|
|
||||||
include($default_path);
|
include($default_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue