| |
---|
| | $ob= simplexml_load_string($xmlfile); |
---|
| | $json = json_encode($ob); |
---|
| | $configData = json_decode($json, true); |
---|
| | |
---|
| | //print_r($configData); |
---|
| | //file_put_contents('/mnt/hgfs/Pentest/pentests/2019/Remploy/test/array.x', print_r($configData, true)); |
---|
| | $resultsFolder = substr($filter->getParam("doc"), 0, strrpos( $filter->getParam("doc"), '/') )."/"; |
---|
| | |
---|
| | foreach ($configData['report_sections']['section']['subsection'] as $key => $value) { |
---|
| | # code... |
---|
| |
---|
| | |
|