From 7d064d87ff3db13540e40bf61cd1c0fb257c9c1b Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 19 Jun 2003 13:12:34 +0000 Subject: [PATCH] Fixed a bug affecting the zipping of files within subdirectories, patch from Robert Hetzel. --- files/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/index.php b/files/index.php index cc1da5cd4b..098384571e 100644 --- a/files/index.php +++ b/files/index.php @@ -331,7 +331,7 @@ if (empty($CFG->zip)) { // Use built-in php-based zip function $files = array(); foreach ($USER->filelist as $file) { - $files[] = "$basedir/$wdir$file"; + $files[] = "$basedir/$file"; } include_once('../lib/pclzip/pclzip.lib.php'); $archive = new PclZip("$basedir/$wdir/$name"); -- 2.39.5