mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Update app_defaults.php
This commit is contained in:
@@ -181,16 +181,20 @@ if ($domains_processed == 1) {
|
||||
unset($array);
|
||||
|
||||
//update the array structure
|
||||
$array['default_settings'] = $missing;
|
||||
unset($missing);
|
||||
if (is_array($missing)) {
|
||||
$array['default_settings'] = $missing;
|
||||
unset($missing);
|
||||
}
|
||||
|
||||
//add the default settings
|
||||
$database = new database;
|
||||
$database->app_name = 'default_settings';
|
||||
$database->app_uuid = '2c2453c0-1bea-4475-9f44-4d969650de09';
|
||||
$database->save($array);
|
||||
$message = $database->message;
|
||||
unset($database);
|
||||
if (is_array($array)) {
|
||||
$database = new database;
|
||||
$database->app_name = 'default_settings';
|
||||
$database->app_uuid = '2c2453c0-1bea-4475-9f44-4d969650de09';
|
||||
$database->save($array);
|
||||
$message = $database->message;
|
||||
unset($database);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user