MDL-7828 Backup with error PCLZIP_ERR_MISSING_FILE (-4) under windows when moodledata on different disk - patch by Yves Roy; backported from HEAD

This commit is contained in:
skodak
2006-12-29 22:36:38 +00:00
parent a59462f1a4
commit 152fa94009
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1955,7 +1955,7 @@
// ----- Reduce the filename
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Filedescr before reduction :'".$v_descr['filename']."'");
$v_descr['filename'] = PclZipUtilTranslateWinPath($v_descr['filename']);
// $v_descr['filename'] = PclZipUtilTranslateWinPath($v_descr['filename']); //Moolde fix - see MDL-7828
$v_descr['filename'] = PclZipUtilPathReduction($v_descr['filename']);
//--(MAGIC-PclTrace)--//PclTraceFctMessage(__FILE__, __LINE__, 3, "Filedescr after reduction :'".$v_descr['filename']."'");
+2 -1
View File
@@ -2,6 +2,7 @@ Description of PCLZIP v2.5 library import into Moodle
Changes:
* removed verbose error output from PCLZIP_ERR_DIRECTORY_RESTRICTION error
* removed PclZipUtilTranslateWinPath from line 1958 - see MDL-7828
skodak
30 August 2006
$Id$