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:
@@ -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,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$
|
||||
Reference in New Issue
Block a user