| @@ 6016-6018 (lines=3) @@ | ||
| 6013 | } |
|
| 6014 | unset($o); |
|
| 6015 | $this->procExec('unzip --help', $o, $c); |
|
| 6016 | if ($c == 0) { |
|
| 6017 | $arcs['extract']['application/zip'] = ['cmd' => 'unzip', 'argc' => '', 'ext' => 'zip', 'toSpec' => '-d ']; |
|
| 6018 | } |
|
| 6019 | unset($o); |
|
| 6020 | $this->procExec('rar --version', $o, $c); |
|
| 6021 | if ($c == 0 || $c == 7) { |
|
| @@ 6026-6028 (lines=3) @@ | ||
| 6023 | } |
|
| 6024 | unset($o); |
|
| 6025 | $this->procExec('unrar', $o, $c); |
|
| 6026 | if ($c == 0 || $c == 7) { |
|
| 6027 | $arcs['extract']['application/x-rar'] = ['cmd' => 'unrar', 'argc' => 'x -y', 'ext' => 'rar', 'toSpec' => '']; |
|
| 6028 | } |
|
| 6029 | unset($o); |
|
| 6030 | $this->procExec('7za --help', $o, $c); |
|
| 6031 | if ($c == 0) { |
|