From: skodak Date: Fri, 29 Dec 2006 22:34:56 +0000 (+0000) Subject: MDL-7828 Backup with error PCLZIP_ERR_MISSING_FILE (-4) under windows when moodledata... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=af7454d6069c3a1af75981c4db10b92fff9d90cd;p=moodle.git MDL-7828 Backup with error PCLZIP_ERR_MISSING_FILE (-4) under windows when moodledata on different disk - patch by Yves Roy --- diff --git a/lib/pclzip/pclzip.lib.php b/lib/pclzip/pclzip.lib.php index 5b38e69dcd..8ecb25c43e 100644 --- a/lib/pclzip/pclzip.lib.php +++ b/lib/pclzip/pclzip.lib.php @@ -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']."'"); diff --git a/lib/pclzip/readme_moodle.txt b/lib/pclzip/readme_moodle.txt index 2cd80e973b..b12050e23f 100644 --- a/lib/pclzip/readme_moodle.txt +++ b/lib/pclzip/readme_moodle.txt @@ -5,4 +5,4 @@ Changes: * removed PclZipUtilTranslateWinPath from line 1958 - see MDL-7828 skodak -$id:$ \ No newline at end of file +$Id$ \ No newline at end of file