mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update app_defaults.php
This commit is contained in:
@@ -318,16 +318,20 @@
|
|||||||
unset($array);
|
unset($array);
|
||||||
|
|
||||||
//update the array structure
|
//update the array structure
|
||||||
$array['default_settings'] = $missing;
|
if (is_array($missing)) {
|
||||||
unset($missing);
|
$array['default_settings'] = $missing;
|
||||||
|
unset($missing);
|
||||||
|
}
|
||||||
|
|
||||||
//add the default settings
|
//add the default settings
|
||||||
$database = new database;
|
if (is_array($array)) {
|
||||||
$database->app_name = 'default_settings';
|
$database = new database;
|
||||||
$database->app_uuid = '2c2453c0-1bea-4475-9f44-4d969650de09';
|
$database->app_name = 'default_settings';
|
||||||
$database->save($array);
|
$database->app_uuid = '2c2453c0-1bea-4475-9f44-4d969650de09';
|
||||||
$message = $database->message;
|
$database->save($array);
|
||||||
unset($database);
|
$message = $database->message;
|
||||||
|
unset($database);
|
||||||
|
}
|
||||||
|
|
||||||
//move the dynamic provision variables that from v_vars table to v_default_settings
|
//move the dynamic provision variables that from v_vars table to v_default_settings
|
||||||
if (count($_SESSION['provision']) == 0) {
|
if (count($_SESSION['provision']) == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user