Skip to content

Commit

Permalink
Updated pclzip.lib.php to v2.8.4 to fix math error
Browse files Browse the repository at this point in the history
Also suppress mkdir() error in e_file::unzipGithubArchive()
  • Loading branch information
Deltik committed Jan 18, 2020
1 parent 82499f7 commit 24fe5c8
Show file tree
Hide file tree
Showing 2 changed files with 4,726 additions and 5,005 deletions.
2 changes: 1 addition & 1 deletion e107_handlers/file_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ public function unzipGithubArchive($url='core', $destination_path = e_BASE)
// $skipped[] = $newPath. " (already exists)";
continue;
}
mkdir(dirname($newPath), 0755, true);
@mkdir(dirname($newPath), 0755, true);
if(!rename($oldPath,$newPath))
{
$error[] = $newPath;
Expand Down
Loading

0 comments on commit 24fe5c8

Please sign in to comment.