Update app_defaults.php
This commit is contained in:
parent
c8e3b98a38
commit
c4d35d2cb8
|
|
@ -181,16 +181,20 @@ if ($domains_processed == 1) {
|
||||||
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);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue