From: skodak Date: Fri, 17 Oct 2008 06:33:45 +0000 (+0000) Subject: MDL-16861 packer? undoing last commit, does not seem correct X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1aa957947a1154297d38245bfe9c5d09c45eade1;p=moodle.git MDL-16861 packer? undoing last commit, does not seem correct --- diff --git a/lib/packer/zip_packer.php b/lib/packer/zip_packer.php index fa8d6ac45e..d4917c5590 100644 --- a/lib/packer/zip_packer.php +++ b/lib/packer/zip_packer.php @@ -127,7 +127,7 @@ class zip_packer extends file_packer { if ($file->isDot()) { continue; } - $newpath = $archivepath.'/'.$file->getFilename(); + $newpath = $archivepath.$file->getFilename(); $this->archive_pathname($ziparch, $newpath, $file->getPathname()); } unset($files); //release file handles