From 6bf73df771636ee34cad093620f9ef6f1a43276e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 28 Sep 2016 00:49:48 -0600 Subject: [PATCH] Update app_config.php Add the dialplan_xml field and permission. --- app/dialplan/app_config.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/dialplan/app_config.php b/app/dialplan/app_config.php index c84fb28ec3..fcca86807b 100644 --- a/app/dialplan/app_config.php +++ b/app/dialplan/app_config.php @@ -36,6 +36,9 @@ $apps[$x]['permissions'][$y]['name'] = "dialplan_delete"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; + $apps[$x]['permissions'][$y]['name'] = "dialplan_xml"; + $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; + $y++; $apps[$x]['permissions'][$y]['name'] = "dialplan_advanced_view"; $apps[$x]['permissions'][$y]['menu']['uuid'] = "52929fee-81d3-4d94-50b7-64842d9393c2"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; @@ -105,6 +108,12 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "dialplan_xml"; + $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "xml"; + $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "dialplan_order"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; @@ -173,4 +182,4 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; -?> \ No newline at end of file +?>