@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); |
| 34 | 34 | |
| 35 | - if($handlers[$ext]) { |
|
| 35 | + if ($handlers[$ext]) { |
|
| 36 | 36 | |
| 37 | 37 | switch ($ext) { |
| 38 | 38 | case 'png': |
@@ -40,12 +40,12 @@ discard block |
||
| 40 | 40 | break; |
| 41 | 41 | case 'jpg': |
| 42 | 42 | case 'jpeg': |
| 43 | - $command = sprintf($this->args[$ext], escapeshellarg($file), escapeshellarg($file . ".original")); |
|
| 43 | + $command = sprintf($this->args[$ext], escapeshellarg($file), escapeshellarg($file . ".original")); |
|
| 44 | 44 | break; |
| 45 | 45 | } |
| 46 | 46 | if (!file_exists($file . ".original") && $command) { |
| 47 | 47 | copy($file, $file . ".original"); |
| 48 | - exec($handlers[$ext] . $command); |
|
| 48 | + exec($handlers[$ext] . $command); |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | } else { |