Changeset 3823 for trunk/admin/include/pclzip.lib.php
- Timestamp:
- Sep 5, 2009, 1:22:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/pclzip.lib.php
r3582 r3823 1 1 <?php 2 2 // -------------------------------------------------------------------------------- 3 // PhpConcept Library - Zip Module 2.8 3 // PhpConcept Library - Zip Module 2.8.1 4 4 // -------------------------------------------------------------------------------- 5 // License GNU/LGPL - Vincent Blavet - March 20065 // License GNU/LGPL - Vincent Blavet - August 2009 6 6 // http://www.phpconcept.net 7 7 // -------------------------------------------------------------------------------- … … 45 45 46 46 47 $g_pclzip_version = "2.8 ";47 $g_pclzip_version = "2.8.1"; 48 48 49 49 define( 'PCLZIP_ERR_USER_ABORTED', 2 ); … … 957 957 958 958 case PCLZIP_OPT_BY_EREG : 959 $p_options_list[$i] = PCLZIP_OPT_BY_PREG; 959 960 case PCLZIP_OPT_BY_PREG : 960 961 if (($i+1) >= $p_size) { … … 2260 2261 } 2261 2262 2262 else if ( (isset($p_options[PCLZIP_OPT_BY_EREG]))2263 && ($p_options[PCLZIP_OPT_BY_EREG] != "")) {2264 2265 if (ereg($p_options[PCLZIP_OPT_BY_EREG], $v_header['stored_filename'])) {2266 $v_extract = true;2267 }2268 }2269 2270 2263 else if ( (isset($p_options[PCLZIP_OPT_BY_PREG])) 2271 2264 && ($p_options[PCLZIP_OPT_BY_PREG] != "")) { … … 3225 3218 } 3226 3219 3227 else if ( (isset($p_options[PCLZIP_OPT_BY_EREG]))3228 && ($p_options[PCLZIP_OPT_BY_EREG] != "")) {3229 3230 if (ereg($p_options[PCLZIP_OPT_BY_EREG], $v_header_list[$v_nb_extracted]['stored_filename'])) {3231 $v_found = true;3232 }3233 }3234 3235 3220 else if ( (isset($p_options[PCLZIP_OPT_BY_PREG])) 3236 3221 && ($p_options[PCLZIP_OPT_BY_PREG] != "")) {
Note: See TracChangeset
for help on using the changeset viewer.