Update file extensions list to include .SBN and .LOADS
Some firmware has upper case extensions
This commit is contained in:
parent
a40c110efe
commit
662e2a4aa3
|
@ -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'];
|
||||||
|
|
Loading…
Reference in a new issue