Changeset 922
- Timestamp:
- 05/04/08 18:58:47 (4 months ago)
- Files:
-
- branches/1.0.x/lib/jelix/CREDITS (modified) (1 diff)
- branches/1.0.x/lib/jelix/CREDITS (modified) (1 diff)
- branches/1.0.x/lib/jelix/CREDITS (modified) (1 diff)
- branches/1.0.x/lib/jelix/CREDITS (modified) (1 diff)
- branches/1.0.x/lib/jelix/utils/jZipCreator.class.php (modified) (3 diffs)
- branches/1.0.x/lib/jelix/utils/jZipCreator.class.php (modified) (3 diffs)
- branches/1.0.x/lib/jelix/utils/jZipCreator.class.php (modified) (3 diffs)
- branches/1.0.x/lib/jelix/utils/jZipCreator.class.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0.x/lib/jelix/CREDITS
r898 r922 71 71 - localization system should work with language code without country (#95) 72 72 - jForms html shouldn't generate readonly attribute on select (#550) 73 - jResponseZip : on windows files are view like folders (#538) 73 74 74 75 Bastien Jaillot (aka bastnic) branches/1.0.x/lib/jelix/CREDITS
r898 r922 71 71 - localization system should work with language code without country (#95) 72 72 - jForms html shouldn't generate readonly attribute on select (#550) 73 - jResponseZip : on windows files are view like folders (#538) 73 74 74 75 Bastien Jaillot (aka bastnic) branches/1.0.x/lib/jelix/CREDITS
r898 r922 71 71 - localization system should work with language code without country (#95) 72 72 - jForms html shouldn't generate readonly attribute on select (#550) 73 - jResponseZip : on windows files are view like folders (#538) 73 74 74 75 Bastien Jaillot (aka bastnic) branches/1.0.x/lib/jelix/CREDITS
r898 r922 71 71 - localization system should work with language code without country (#95) 72 72 - jForms html shouldn't generate readonly attribute on select (#550) 73 - jResponseZip : on windows files are view like folders (#538) 73 74 74 75 Bastien Jaillot (aka bastnic) branches/1.0.x/lib/jelix/utils/jZipCreator.class.php
r335 r922 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; branches/1.0.x/lib/jelix/utils/jZipCreator.class.php
r335 r922 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; branches/1.0.x/lib/jelix/utils/jZipCreator.class.php
r335 r922 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; branches/1.0.x/lib/jelix/utils/jZipCreator.class.php
r335 r922 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;
