Conditions | 3 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | * Parse the given file an add all settings to the internal configuration. |
||
33 | * @param string $strConfigFile |
||
34 | */ |
||
35 | protected function parseFile(string $strConfigFile) : array |
||
36 | { |
||
37 | if (!file_exists($strConfigFile)) { |
||
38 | trigger_error('Config File (' . $strConfigFile . ') does not exist!', E_USER_WARNING); |
||
39 | } |
||
40 | $aINI = parse_ini_file($strConfigFile, TRUE); |
||
41 | return $aINI; |
||
44 |