Improved downward compatibility

This commit is contained in:
Matthias Vogel 2014-07-15 17:43:37 +02:00
commit 3d268072fc
2 changed files with 3 additions and 2 deletions

View file

@ -130,11 +130,11 @@ class Updater
$dirName = substr($fileName,$cutLength);
if(! file_exists($dirName))
{
//mkdir($dirName);
mkdir($dirName);
}
}
else{
//copy("zip://".$path."#".$filename, substr($filename,$cutLength));
copy("zip://".$path."#".$filename, substr($filename,$cutLength));
}
}
$zip->close();