Hi, I get this error: Fatal error: Uncaught Alchemy\Zippy\Exception\FormatNotSupportedException: No strategy for extension in
I am wondering why when it is a .bz2 file which is supposedly supported.
Here is my code:
$filename = "Packages".($isBZ2Archive ? ".bz2" : ".gz");
echo $filename;
if (!file_exists('repos/'.$repoInfo['name'])) {
mkdir('repos/'.$repoInfo['name'], 0777);
}
if (file_put_contents('repos/'.$repoInfo['name'].'/'.$filename, $this->downloadFile($packagesURL, "Telesphoreo"))) {
} else {
return "Line 269";
}
$zippy = Zippy::load();
$archive = $zippy->open('repos/'.$repoInfo['name'].'/'.$filename);
$archive->extract('repos/'.$repoInfo['name'].'/'.$filename);
Hi, I get this error: Fatal error: Uncaught Alchemy\Zippy\Exception\FormatNotSupportedException: No strategy for extension in
I am wondering why when it is a .bz2 file which is supposedly supported.
Here is my code: