From 2fae1dbaa0ead1388a2292f6e2a62bd245c996b2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 15 Feb 2017 21:16:45 -0700 Subject: [PATCH] Update app_config.php --- core/default_settings/app_config.php | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/core/default_settings/app_config.php b/core/default_settings/app_config.php index 746e326e7a..5732455aa2 100644 --- a/core/default_settings/app_config.php +++ b/core/default_settings/app_config.php @@ -20,7 +20,7 @@ $apps[$x]['description']['pt-br'] = ""; //permission details - $y = 0; + $y=0; $apps[$x]['permissions'][$y]['name'] = "default_setting_view"; $apps[$x]['permissions'][$y]['menu']['uuid'] = "834b2739-9e99-4345-9b0b-7ec3ca332b67"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; @@ -423,9 +423,10 @@ $y++; //schema details - $y = 0; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_default_settings"; + $y=0; + $apps[$x]['db'][$y]['table']['name'] = "v_default_settings"; + $apps[$x]['db'][$y]['table']['parent'] = ""; + $z=0; $apps[$x]['db'][$y]['fields'][$z]['name'] = "default_setting_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -465,9 +466,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - $y = 1; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_languages"; + $y++; + $apps[$x]['db'][$y]['table']['name'] = "v_languages"; + $apps[$x]['db'][$y]['table']['parent'] = ""; + $z=0; $apps[$x]['db'][$y]['fields'][$z]['name'] = "language_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; @@ -483,9 +485,10 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The language code."; $z++; - $y = 2; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_countries"; + $y++; + $apps[$x]['db'][$y]['table']['name'] = "v_countries"; + $apps[$x]['db'][$y]['table']['parent'] = ""; + $z=0; $apps[$x]['db'][$y]['fields'][$z]['name'] = "country_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";