Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Unzip.php')
-rw-r--r--core/Unzip.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Unzip.php b/core/Unzip.php
index ffef2add15..af1c14a815 100644
--- a/core/Unzip.php
+++ b/core/Unzip.php
@@ -33,15 +33,19 @@ class Unzip
return new ZipArchive($filename);
}
break;
+
case 'tar.gz':
return new Tar($filename, 'gz');
+
case 'tar.bz2':
return new Tar($filename, 'bz2');
+
case 'gz':
if (function_exists('gzopen')) {
return new Gzip($filename);
}
break;
+
case 'PclZip':
default:
return new PclZip($filename);