]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16861 packer: redoing last commit :-)
authorskodak <skodak>
Fri, 17 Oct 2008 06:38:25 +0000 (06:38 +0000)
committerskodak <skodak>
Fri, 17 Oct 2008 06:38:25 +0000 (06:38 +0000)
lib/packer/zip_packer.php

index d4917c559003edba37248f62190e8c4448310cca..fa8d6ac45ea59db80f4d5dbc4fcd5881e7b61739 100644 (file)
@@ -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