mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Updated pclzip.lib.php to v2.8.4 to fix math error
Also suppress mkdir() error in e_file::unzipGithubArchive()
This commit is contained in:
@@ -1774,7 +1774,7 @@ class e_file
|
|||||||
// $skipped[] = $newPath. " (already exists)";
|
// $skipped[] = $newPath. " (already exists)";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
mkdir(dirname($newPath), 0755, true);
|
@mkdir(dirname($newPath), 0755, true);
|
||||||
if(!rename($oldPath,$newPath))
|
if(!rename($oldPath,$newPath))
|
||||||
{
|
{
|
||||||
$error[] = $newPath;
|
$error[] = $newPath;
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user