Conditions | 3 |
Paths | 4 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | protected function parseFile(string $strConfigFile) : array |
||
33 | { |
||
34 | if (!file_exists($strConfigFile)) { |
||
35 | trigger_error('Config File (' . $strConfigFile . ') does not exist!', E_USER_WARNING); |
||
36 | } |
||
37 | $aINI = parse_ini_file($strConfigFile, TRUE); |
||
38 | return ($aINI !== false) ? $aINI : []; |
||
39 | } |
||
41 |