@@ -29,8 +29,9 @@ |
||
| 29 | 29 | { |
| 30 | 30 | // https://secure.php.net/manual/en/function.parse-ini-file.php |
| 31 | 31 | $ret = parse_ini_file($filepath, $with_sections, $mode); |
| 32 | - if($ret === false) |
|
| 33 | - return null; |
|
| 32 | + if($ret === false) { |
|
| 33 | + return null; |
|
| 34 | + } |
|
| 34 | 35 | |
| 35 | 36 | return $ret; |
| 36 | 37 | } |
@@ -67,8 +67,9 @@ |
||
| 67 | 67 | public function __toString() |
| 68 | 68 | { |
| 69 | 69 | $ret = file_get_contents($this->path()); |
| 70 | - if($ret === false) |
|
| 71 | - $ret = $this->path(); |
|
| 70 | + if($ret === false) { |
|
| 71 | + $ret = $this->path(); |
|
| 72 | + } |
|
| 72 | 73 | |
| 73 | 74 | return $ret; |
| 74 | 75 | } |