sccppath['tftp_path']}/masterFilesStructure.xml")) { if (!$this->getFileListFromProvisioner($this->sccppath['tftp_path'])) { // File does not exist and cannot get from internet. return $result; }; } $tftpBootXml = simplexml_load_file("{$this->sccppath['tftp_path']}/masterFilesStructure.xml"); $firmwareDir = $tftpBootXml->xpath("//Directory[@name='firmware']"); foreach ($firmwareDir[0] as $child) { if (!empty((string)$child['name'])) { $selectArray[(string)$child['name']] = (string)$child['name']; } }; include($amp_conf['AMPWEBROOT'] . '/admin/modules/sccp_manager/views/getFileModal.html'); ?>