@@ -30,15 +30,15 @@ |
||
| 30 | 30 | |
| 31 | 31 | $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); |
| 32 | 32 | |
| 33 | - if($handlers[$ext]) { |
|
| 34 | - echo get_class()." обрабатывает файл: $file\n"; |
|
| 33 | + if ($handlers[$ext]) { |
|
| 34 | + echo get_class() . " обрабатывает файл: $file\n"; |
|
| 35 | 35 | switch ($ext) { |
| 36 | 36 | case 'png': |
| 37 | - exec($handlers[$ext] . ' ' . $this->args[$ext] . ' ' . escapeshellarg($file)); |
|
| 37 | + exec($handlers[$ext] . ' ' . $this->args[$ext] . ' ' . escapeshellarg($file)); |
|
| 38 | 38 | break; |
| 39 | 39 | case 'jpg': |
| 40 | 40 | case 'jpeg': |
| 41 | - exec($handlers[$ext] . ' ' . $this->args[$ext] . ' ' . escapeshellarg($file) . ' ' . escapeshellarg($file)); |
|
| 41 | + exec($handlers[$ext] . ' ' . $this->args[$ext] . ' ' . escapeshellarg($file) . ' ' . escapeshellarg($file)); |
|
| 42 | 42 | break; |
| 43 | 43 | } |
| 44 | 44 | } else { |