Skip to content

Commit

Permalink
[volume:abstract] archiver xz cmd option correction
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Jan 30, 2015
1 parent 962c487 commit c2617a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php/elFinderVolumeDriver.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3225,8 +3225,8 @@ protected function getArchivers($use_cache = true) {
unset($o);
$test = $this->procExec('xz --version', $o, $c);
if ($c == 0) {
$arcs['create']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-Jcvf', 'ext' => 'xz');
$arcs['extract']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-Jxvf', 'ext' => 'xz');
$arcs['create']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-cJf', 'ext' => 'xz');
$arcs['extract']['application/x-xz'] = array('cmd' => 'tar', 'argc' => '-xJf', 'ext' => 'xz');
}
}
unset($o);
Expand Down

0 comments on commit c2617a1

Please sign in to comment.