@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | ], |
49 | 49 | ]; |
50 | 50 | |
51 | - public static function getBinaryHandler($type){ |
|
51 | + public static function getBinaryHandler($type) { |
|
52 | 52 | |
53 | 53 | $handlers = self::getBinaryHandlers(); |
54 | 54 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | } |
60 | 60 | |
61 | - public static function getBinaryHandlers(){ |
|
61 | + public static function getBinaryHandlers() { |
|
62 | 62 | |
63 | 63 | $os = strtolower(PHP_OS); |
64 | 64 | if (substr($os, 0, 3) == "win") { |
@@ -25,8 +25,8 @@ |
||
25 | 25 | |
26 | 26 | $ext = strtolower(pathinfo($file, PATHINFO_EXTENSION)); |
27 | 27 | |
28 | - if($handlers[$ext]) { |
|
29 | - echo get_class()." обрабатывает файл: $file\n"; |
|
28 | + if ($handlers[$ext]) { |
|
29 | + echo get_class() . " обрабатывает файл: $file\n"; |
|
30 | 30 | exec($handlers[$ext] . ' - o2 ' . escapeshellarg($file)); |
31 | 31 | } else { |
32 | 32 | echo "Не найден бинарный обработчик для файла: $file\n"; |