From af2cbf725c26bfaed28b68fdd8d5f269aa15da2f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 15 Feb 2017 21:17:44 -0700 Subject: [PATCH] Update app_config.php --- core/domain_settings/app_config.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/core/domain_settings/app_config.php b/core/domain_settings/app_config.php index 0e78ea0e7d..9c6a6ad43e 100644 --- a/core/domain_settings/app_config.php +++ b/core/domain_settings/app_config.php @@ -20,7 +20,7 @@ $apps[$x]['description']['pt-br'] = ""; //permission details - $y = 0; + $y=0; $apps[$x]['permissions'][$y]['name'] = "domain_view"; $apps[$x]['permissions'][$y]['menu']['uuid'] = "4fa7e90b-6d6c-12d4-712f-62857402b801"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; @@ -58,9 +58,10 @@ $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; //schema details - $y = 0; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_domains"; + $y=0; + $apps[$x]['db'][$y]['table']['name'] = "v_domains"; + $apps[$x]['db'][$y]['table']['parent'] = ""; + $z=0; $apps[$x]['db'][$y]['fields'][$z]['name'] = "id"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer"; @@ -93,9 +94,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description."; - $y = 1; //table array index - $z = 0; //field array index - $apps[$x]['db'][$y]['table'] = "v_domain_settings"; + $y=1; + $apps[$x]['db'][$y]['table']['name'] = "v_domain_settings"; + $apps[$x]['db'][$y]['table']['parent'] = "v_domains"; + $z=0; $apps[$x]['db'][$y]['fields'][$z]['name'] = "id"; $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial"; $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";