@@ 113-115 (lines=3) @@ | ||
110 | ||
111 | $dictionary = new Dictionary(); |
|
112 | ||
113 | foreach (parse_ini_file($file) as $key => $val) { |
|
114 | $dictionary->dictionary[str_replace('@:', '', $key)] = $val; |
|
115 | } |
|
116 | ||
117 | return $dictionary; |
|
118 | } |
|
@@ 135-137 (lines=3) @@ | ||
132 | if (! file_exists(realpath($file))) { |
|
133 | return $this; |
|
134 | } |
|
135 | foreach (parse_ini_file($file) as $key => $val) { |
|
136 | $this->dictionary[str_replace('@:', '', $key)] = $val; |
|
137 | } |
|
138 | ||
139 | return $this; |
|
140 | } |