Update app_defaults.php
This commit is contained in:
parent
44a8702e31
commit
c8e3b98a38
|
|
@ -318,16 +318,20 @@
|
||||||
unset($array);
|
unset($array);
|
||||||
|
|
||||||
//update the array structure
|
//update the array structure
|
||||||
|
if (is_array($missing)) {
|
||||||
$array['default_settings'] = $missing;
|
$array['default_settings'] = $missing;
|
||||||
unset($missing);
|
unset($missing);
|
||||||
|
}
|
||||||
|
|
||||||
//add the default settings
|
//add the default settings
|
||||||
|
if (is_array($array)) {
|
||||||
$database = new database;
|
$database = new database;
|
||||||
$database->app_name = 'default_settings';
|
$database->app_name = 'default_settings';
|
||||||
$database->app_uuid = '2c2453c0-1bea-4475-9f44-4d969650de09';
|
$database->app_uuid = '2c2453c0-1bea-4475-9f44-4d969650de09';
|
||||||
$database->save($array);
|
$database->save($array);
|
||||||
$message = $database->message;
|
$message = $database->message;
|
||||||
unset($database);
|
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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue