Update file extensions list to include .SBN and .LOADS

Some firmware has upper case extensions
This commit is contained in:
steve-lad 2021-08-09 06:56:38 +02:00
parent a40c110efe
commit 662e2a4aa3

View file

@ -1066,7 +1066,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
} }
function getSccpModelInformation($get = "all", $validate = false, $format_list = "all", $filter = array()) { 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']; $dir = $this->sccppath['tftp_firmware_path'];
$search_mode = $this->sccpvalues['tftp_rewrite']['data']; $search_mode = $this->sccpvalues['tftp_rewrite']['data'];