Changeset 921
- Timestamp:
- 05/04/08 18:58:11 (3 months ago)
- Files:
-
- trunk/lib/jelix/CREDITS (modified) (1 diff)
- trunk/lib/jelix/CREDITS (modified) (1 diff)
- trunk/lib/jelix/CREDITS (modified) (1 diff)
- trunk/lib/jelix/CREDITS (modified) (1 diff)
- trunk/lib/jelix/utils/jZipCreator.class.php (modified) (3 diffs)
- trunk/lib/jelix/utils/jZipCreator.class.php (modified) (3 diffs)
- trunk/lib/jelix/utils/jZipCreator.class.php (modified) (3 diffs)
- trunk/lib/jelix/utils/jZipCreator.class.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix/CREDITS
r919 r921 19 19 - localization system should work with language code without country (#95) 20 20 - jForms html shouldn't generate readonly attribute on select (#550) 21 - jResponseZip : on windows files are view like folders (#538) 21 22 22 23 Bastien Jaillot (aka bastnic) trunk/lib/jelix/CREDITS
r919 r921 19 19 - localization system should work with language code without country (#95) 20 20 - jForms html shouldn't generate readonly attribute on select (#550) 21 - jResponseZip : on windows files are view like folders (#538) 21 22 22 23 Bastien Jaillot (aka bastnic) trunk/lib/jelix/CREDITS
r919 r921 19 19 - localization system should work with language code without country (#95) 20 20 - jForms html shouldn't generate readonly attribute on select (#550) 21 - jResponseZip : on windows files are view like folders (#538) 21 22 22 23 Bastien Jaillot (aka bastnic) trunk/lib/jelix/CREDITS
r919 r921 19 19 - localization system should work with language code without country (#95) 20 20 - jForms html shouldn't generate readonly attribute on select (#550) 21 - jResponseZip : on windows files are view like folders (#538) 21 22 22 23 Bastien Jaillot (aka bastnic) trunk/lib/jelix/utils/jZipCreator.class.php
r335 r921 4 4 * @subpackage utils 5 5 * @author Laurent Jouanneau 6 * @contributor Julien Issler 6 7 * @copyright 2006 Laurent Jouanneau 8 * @copyright 2008 Julien Issler 7 9 * @link http://www.jelix.org 8 10 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html … … 89 91 // converts unix timestamp to dos binary format 90 92 if($filetime == 0) 91 $filetime = mktime();93 $filetime = time(); 92 94 elseif($filetime < 315529200) // 01/01/1980 93 95 $filetime = 315529200; … … 156 158 */ 157 159 $cdrecord = "\x50\x4b\x01\x02\x00\x00\x14\x00\x00\x00\x08\x00".$fileinfo; 158 $cdrecord .= "\x00\x00\x00\x00\x00\x00\x32\x00\x00\x00"; 160 $cdrecord .= "\x00\x00\x00\x00\x00\x00"; 161 $cdrecord .= pack('V', 32); 159 162 $cdrecord .= pack('V', $this ->centralDirOffset ); 160 163 $cdrecord .= $zipFileName; trunk/lib/jelix/utils/jZipCreator.class.php
r335 r921 4 4 * @subpackage utils 5 5 * @author Laurent Jouanneau 6 * @contributor Julien Issler 6 7 * @copyright 2006 Laurent Jouanneau 8 * @copyright 2008 Julien Issler 7 9 * @link http://www.jelix.org 8 10 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html … … 89 91 // converts unix timestamp to dos binary format 90 92 if($filetime == 0) 91 $filetime = mktime();93 $filetime = time(); 92 94 elseif($filetime < 315529200) // 01/01/1980 93 95 $filetime = 315529200; … … 156 158 */ 157 159 $cdrecord = "\x50\x4b\x01\x02\x00\x00\x14\x00\x00\x00\x08\x00".$fileinfo; 158 $cdrecord .= "\x00\x00\x00\x00\x00\x00\x32\x00\x00\x00"; 160 $cdrecord .= "\x00\x00\x00\x00\x00\x00"; 161 $cdrecord .= pack('V', 32); 159 162 $cdrecord .= pack('V', $this ->centralDirOffset ); 160 163 $cdrecord .= $zipFileName; trunk/lib/jelix/utils/jZipCreator.class.php
r335 r921 4 4 * @subpackage utils 5 5 * @author Laurent Jouanneau 6 * @contributor Julien Issler 6 7 * @copyright 2006 Laurent Jouanneau 8 * @copyright 2008 Julien Issler 7 9 * @link http://www.jelix.org 8 10 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html … … 89 91 // converts unix timestamp to dos binary format 90 92 if($filetime == 0) 91 $filetime = mktime();93 $filetime = time(); 92 94 elseif($filetime < 315529200) // 01/01/1980 93 95 $filetime = 315529200; … … 156 158 */ 157 159 $cdrecord = "\x50\x4b\x01\x02\x00\x00\x14\x00\x00\x00\x08\x00".$fileinfo; 158 $cdrecord .= "\x00\x00\x00\x00\x00\x00\x32\x00\x00\x00"; 160 $cdrecord .= "\x00\x00\x00\x00\x00\x00"; 161 $cdrecord .= pack('V', 32); 159 162 $cdrecord .= pack('V', $this ->centralDirOffset ); 160 163 $cdrecord .= $zipFileName; trunk/lib/jelix/utils/jZipCreator.class.php
r335 r921 4 4 * @subpackage utils 5 5 * @author Laurent Jouanneau 6 * @contributor Julien Issler 6 7 * @copyright 2006 Laurent Jouanneau 8 * @copyright 2008 Julien Issler 7 9 * @link http://www.jelix.org 8 10 * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html … … 89 91 // converts unix timestamp to dos binary format 90 92 if($filetime == 0) 91 $filetime = mktime();93 $filetime = time(); 92 94 elseif($filetime < 315529200) // 01/01/1980 93 95 $filetime = 315529200; … … 156 158 */ 157 159 $cdrecord = "\x50\x4b\x01\x02\x00\x00\x14\x00\x00\x00\x08\x00".$fileinfo; 158 $cdrecord .= "\x00\x00\x00\x00\x00\x00\x32\x00\x00\x00"; 160 $cdrecord .= "\x00\x00\x00\x00\x00\x00"; 161 $cdrecord .= pack('V', 32); 159 162 $cdrecord .= pack('V', $this ->centralDirOffset ); 160 163 $cdrecord .= $zipFileName;
