]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16861 packer? undoing last commit, does not seem correct
authorskodak <skodak>
Fri, 17 Oct 2008 06:33:45 +0000 (06:33 +0000)
committerskodak <skodak>
Fri, 17 Oct 2008 06:33:45 +0000 (06:33 +0000)
lib/packer/zip_packer.php

index fa8d6ac45ea59db80f4d5dbc4fcd5881e7b61739..d4917c559003edba37248f62190e8c4448310cca 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