@@ -32,9 +32,9 @@ 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 | - echo get_class()." обрабатывает файл: $file\n"; |
|
37 | + echo get_class() . " обрабатывает файл: $file\n"; |
|
38 | 38 | |
39 | 39 | |
40 | 40 | switch ($ext) { |
@@ -43,12 +43,12 @@ discard block |
||
43 | 43 | break; |
44 | 44 | case 'jpg': |
45 | 45 | case 'jpeg': |
46 | - $command = sprintf($this->args[$ext], escapeshellarg($file), escapeshellarg($file . ".original")); |
|
46 | + $command = sprintf($this->args[$ext], escapeshellarg($file), escapeshellarg($file . ".original")); |
|
47 | 47 | break; |
48 | 48 | } |
49 | 49 | if (!file_exists($file . ".original") && $command) { |
50 | 50 | copy($file, $file . ".original"); |
51 | - exec($handlers[$ext] . $command); |
|
51 | + exec($handlers[$ext] . $command); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | } else { |