From 662e2a4aa3365bc572d9ada7d58c8f6a458770d1 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Mon, 9 Aug 2021 06:56:38 +0200 Subject: [PATCH] Update file extensions list to include .SBN and .LOADS Some firmware has upper case extensions --- Sccp_manager.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sccp_manager.class.php b/Sccp_manager.class.php index fa54d43..5faa249 100644 --- a/Sccp_manager.class.php +++ b/Sccp_manager.class.php @@ -1066,7 +1066,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO { } function getSccpModelInformation($get = "all", $validate = false, $format_list = "all", $filter = array()) { - $file_ext = array('.loads', '.sbn', '.bin', '.zup', '.sbin'); + $file_ext = array('.loads', '.sbn', '.bin', '.zup', '.sbin', '.SBN', '.LOADS'); $dir = $this->sccppath['tftp_firmware_path']; $search_mode = $this->sccpvalues['tftp_rewrite']['data'];