| @@ 6011-6013 (lines=3) @@ | ||
| 6008 | } |
|
| 6009 | unset($o); |
|
| 6010 | $this->procExec('zip -v', $o, $c); |
|
| 6011 | if ($c == 0) { |
|
| 6012 | $arcs['create']['application/zip'] = ['cmd' => 'zip', 'argc' => '-r9', 'ext' => 'zip']; |
|
| 6013 | } |
|
| 6014 | unset($o); |
|
| 6015 | $this->procExec('unzip --help', $o, $c); |
|
| 6016 | if ($c == 0) { |
|
| @@ 6021-6023 (lines=3) @@ | ||
| 6018 | } |
|
| 6019 | unset($o); |
|
| 6020 | $this->procExec('rar --version', $o, $c); |
|
| 6021 | if ($c == 0 || $c == 7) { |
|
| 6022 | $arcs['create']['application/x-rar'] = ['cmd' => 'rar', 'argc' => 'a -inul', 'ext' => 'rar']; |
|
| 6023 | } |
|
| 6024 | unset($o); |
|
| 6025 | $this->procExec('unrar', $o, $c); |
|
| 6026 | if ($c == 0 || $c == 7) { |
|