mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Update domains.php
This commit is contained in:
@@ -297,13 +297,6 @@ if (!class_exists('domains')) {
|
|||||||
//get the context
|
//get the context
|
||||||
$context = $domain_name;
|
$context = $domain_name;
|
||||||
|
|
||||||
//show the domain when display_type is set to text
|
|
||||||
if ($display_type == "text") {
|
|
||||||
echo "\n";
|
|
||||||
echo $domain_name;
|
|
||||||
echo "\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
//get the default settings - this needs to be done to reset the session values back to the defaults for each domain in the loop
|
//get the default settings - this needs to be done to reset the session values back to the defaults for each domain in the loop
|
||||||
foreach($database_default_settings as $row) {
|
foreach($database_default_settings as $row) {
|
||||||
$name = $row['default_setting_name'];
|
$name = $row['default_setting_name'];
|
||||||
@@ -347,7 +340,6 @@ if (!class_exists('domains')) {
|
|||||||
|
|
||||||
//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 execute 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");
|
||||||
$display_type = $this->display_type;
|
|
||||||
foreach ($default_list as &$default_path) {
|
foreach ($default_list as &$default_path) {
|
||||||
include($default_path);
|
include($default_path);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user