@@ -191,8 +191,7 @@ |
||
| 191 | 191 | |
| 192 | 192 | if($zoom > $this->options->zoom_normalize){ |
| 193 | 193 | $this->scale($il, $w, $h, $this->options->fast_resize_upsample, $this->options->resize_filter_upsample, $this->options->resize_blur_upsample); |
| 194 | - } |
|
| 195 | - elseif($zoom < $this->options->zoom_normalize){ |
|
| 194 | + } elseif($zoom < $this->options->zoom_normalize){ |
|
| 196 | 195 | $this->scale($il, $w, $h, $this->options->fast_resize_downsample, $this->options->resize_filter_downsample, $this->options->resize_blur_downsample); |
| 197 | 196 | } |
| 198 | 197 | |
@@ -61,8 +61,7 @@ |
||
| 61 | 61 | |
| 62 | 62 | try{ |
| 63 | 63 | $tiler->process($input, __DIR__.'/tiles'); |
| 64 | -} |
|
| 65 | -catch(ImagetilerException $e){ |
|
| 64 | +} catch(ImagetilerException $e){ |
|
| 66 | 65 | $logger->error($e->getMessage()); |
| 67 | 66 | $logger->error($e->getTraceAsString()); |
| 68 | 67 | } |