@@ -134,8 +134,9 @@ |
||
134 | 134 | * @return bool|resource |
135 | 135 | */ |
136 | 136 | private function openImage ($file) { |
137 | - if (!file_exists($file)) |
|
138 | - return false; |
|
137 | + if (!file_exists($file)) { |
|
138 | + return false; |
|
139 | + } |
|
139 | 140 | |
140 | 141 | $size = getimagesize($file); |
141 | 142 | switch($size["mime"]){ |