changeset 967:62c90ec5edce

Use extract.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Nov 2014 03:59:46 +0200
parents eea2b92287ca
children c71afc1a3a85
files faptool.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/faptool.php	Sat Nov 29 03:52:50 2014 +0200
+++ b/faptool.php	Sat Nov 29 03:59:46 2014 +0200
@@ -167,7 +167,7 @@
   {
     case "LHA":
       $exe = "/usr/bin/lha";
-      $args = "e ".escapeshellarg($filename);
+      $args = "x ".escapeshellarg($filename);
       break;
 
     case "ZIP":
@@ -177,7 +177,7 @@
 
     case "RAR":
       $exe = "/usr/bin/rar";
-      $args = "e ".escapeshellarg($filename);
+      $args = "x ".escapeshellarg($filename);
       break;
 
     default: