From 7f0ddf8f6908d9051c181f53d3bf26384b7fe9c7 Mon Sep 17 00:00:00 2001 From: PhantomVl Date: Mon, 8 Jul 2019 15:50:44 +0300 Subject: [PATCH] - Remove sccp_extensions.conf - Remove sccp_hardware.conf --- install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.php b/install.php index 4bc3bfb..c0e8d7a 100644 --- a/install.php +++ b/install.php @@ -807,7 +807,7 @@ function CreateBackUpConfig() { outn("
  • " . _("Create Config BackUp") . "
  • "); $cnf_int = \FreePBX::Config(); $backup_files = array('extensions','extconfig','res_mysql', 'res_config_mysql','sccp','sccp_hardware','sccp_extensions'); - $backup_ext = array('_custom.conf', '.conf'); + $backup_ext = array('_custom.conf', '_additional.conf','.conf'); $dir = $cnf_int->get('ASTETCDIR'); $fsql = $dir.'/sccp_backup_'.date("Ymd").'.sql'; @@ -839,7 +839,7 @@ function RenameConfig() { outn("
  • " . _("Move Old Config") . "
  • "); $cnf_int = \FreePBX::Config(); $rename_files = array('sccp_hardware','sccp_extensions'); - $rename_ext = array('_custom.conf', '.conf'); + $rename_ext = array('_custom.conf', '_additional.conf','.conf'); $dir = $cnf_int->get('ASTETCDIR'); foreach ($rename_files as $file) { foreach ($rename_ext as $b_ext) { @@ -856,7 +856,7 @@ function Setup_RealTime() { $cnf_int = \FreePBX::Config(); $cnf_wr = \FreePBX::WriteConfig(); $cnf_read = \FreePBX::LoadConfig(); - $backup_ext = array('_custom.conf', '.conf'); + $backup_ext = array('_custom.conf', '_additional.conf','.conf'); $def_config = array('sccpdevice' => 'mysql,sccp,sccpdeviceconfig', 'sccpline' => ' mysql,sccp,sccpline'); $def_bd_config = array('dbhost' => $amp_conf['AMPDBHOST'], 'dbname' => $amp_conf['AMPDBNAME'],