Changeset 1935075
- Timestamp:
- 09/03/2018 03:21:02 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
website-backups/trunk/libs/classes/class-erowd_pclzip.php
r1935059 r1935075 1450 1450 if (($i+1) >= $p_size) { 1451 1451 // ----- Error log 1452 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1452 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1453 1453 1454 1454 // ----- Return … … 1464 1464 // ----- Check the number of parameters 1465 1465 if (($i+1) >= $p_size) { 1466 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1466 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1467 1467 return PclZip::errorCode(); 1468 1468 } … … 1470 1470 // ----- Check for incompatible options 1471 1471 if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { 1472 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '". PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'");1472 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".ERO_PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); 1473 1473 return PclZip::errorCode(); 1474 1474 } … … 1477 1477 $v_value = $p_options_list[$i+1]; 1478 1478 if ((!is_integer($v_value)) || ($v_value<0)) { 1479 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Integer expected for option '". PclZipUtilOptionText($p_options_list[$i])."'");1479 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Integer expected for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1480 1480 return PclZip::errorCode(); 1481 1481 } … … 1489 1489 // ----- Check for incompatible options 1490 1490 if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { 1491 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '". PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'");1491 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".ERO_PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); 1492 1492 return PclZip::errorCode(); 1493 1493 } … … 1499 1499 // ----- Check for incompatible options 1500 1500 if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_ON])) { 1501 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '". PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_ON'");1501 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".ERO_PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_ON'"); 1502 1502 return PclZip::errorCode(); 1503 1503 } 1504 1504 // ----- Check for incompatible options 1505 1505 if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) { 1506 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '". PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_THRESHOLD'");1506 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '".ERO_PclZipUtilOptionText($p_options_list[$i])."' can not be used with option 'PCLZIP_OPT_TEMP_FILE_THRESHOLD'"); 1507 1507 return PclZip::errorCode(); 1508 1508 } … … 1515 1515 if (($i+1) >= $p_size) { 1516 1516 // ----- Error log 1517 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1517 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1518 1518 1519 1519 // ----- Return … … 1536 1536 if (($i+1) >= $p_size) { 1537 1537 // ----- Error log 1538 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1538 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1539 1539 1540 1540 // ----- Return … … 1551 1551 else { 1552 1552 // ----- Error log 1553 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1553 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1554 1554 1555 1555 // ----- Return … … 1569 1569 if (($i+1) >= $p_size) { 1570 1570 // ----- Error log 1571 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1571 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1572 1572 1573 1573 // ----- Return … … 1581 1581 else { 1582 1582 // ----- Error log 1583 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1583 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Wrong parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1584 1584 1585 1585 // ----- Return … … 1598 1598 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, 1599 1599 "Missing parameter value for option '" 1600 . PclZipUtilOptionText($p_options_list[$i])1600 .ERO_PclZipUtilOptionText($p_options_list[$i]) 1601 1601 ."'"); 1602 1602 … … 1613 1613 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, 1614 1614 "Wrong parameter value for option '" 1615 . PclZipUtilOptionText($p_options_list[$i])1615 .ERO_PclZipUtilOptionText($p_options_list[$i]) 1616 1616 ."'"); 1617 1617 … … 1627 1627 if (($i+1) >= $p_size) { 1628 1628 // ----- Error log 1629 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1629 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1630 1630 1631 1631 // ----- Return … … 1651 1651 else { 1652 1652 // ----- Error log 1653 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Value must be integer, string or array for option '". PclZipUtilOptionText($p_options_list[$i])."'");1653 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Value must be integer, string or array for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1654 1654 1655 1655 // ----- Return … … 1684 1684 else { 1685 1685 // ----- Error log 1686 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Too many values in index range for option '". PclZipUtilOptionText($p_options_list[$i])."'");1686 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Too many values in index range for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1687 1687 1688 1688 // ----- Return … … 1697 1697 // ----- TBC : An automatic sort should be writen ... 1698 1698 // ----- Error log 1699 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Invalid order of index range for option '". PclZipUtilOptionText($p_options_list[$i])."'");1699 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Invalid order of index range for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1700 1700 1701 1701 // ----- Return … … 1729 1729 if (($i+1) >= $p_size) { 1730 1730 // ----- Error log 1731 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1731 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1732 1732 1733 1733 // ----- Return … … 1754 1754 if (($i+1) >= $p_size) { 1755 1755 // ----- Error log 1756 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '". PclZipUtilOptionText($p_options_list[$i])."'");1756 PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1757 1757 1758 1758 // ----- Return … … 1766 1766 if (!function_exists($v_function_name)) { 1767 1767 // ----- Error log 1768 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Function '".$v_function_name."()' is not an existing function for option '". PclZipUtilOptionText($p_options_list[$i])."'");1768 PclZip::privErrorLog(PCLZIP_ERR_INVALID_OPTION_VALUE, "Function '".$v_function_name."()' is not an existing function for option '".ERO_PclZipUtilOptionText($p_options_list[$i])."'"); 1769 1769 1770 1770 // ----- Return … … 1799 1799 if (!isset($v_result_list[$key])) { 1800 1800 // ----- Error log 1801 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ". PclZipUtilOptionText($key)."(".$key.")");1801 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ".ERO_PclZipUtilOptionText($key)."(".$key.")"); 1802 1802 1803 1803 // ----- Return … … 1888 1888 case PCLZIP_ATT_FILE_NAME : 1889 1889 if (!is_string($v_value)) { 1890 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '". PclZipUtilOptionText($v_key)."'");1890 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".ERO_PclZipUtilOptionText($v_key)."'"); 1891 1891 return PclZip::errorCode(); 1892 1892 } 1893 1893 1894 $p_filedescr['filename'] = PclZipUtilPathReduction($v_value);1894 $p_filedescr['filename'] = ERO_PclZipUtilPathReduction($v_value); 1895 1895 1896 1896 if ($p_filedescr['filename'] == '') { 1897 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty filename for attribute '". PclZipUtilOptionText($v_key)."'");1897 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty filename for attribute '".ERO_PclZipUtilOptionText($v_key)."'"); 1898 1898 return PclZip::errorCode(); 1899 1899 } … … 1903 1903 case PCLZIP_ATT_FILE_NEW_SHORT_NAME : 1904 1904 if (!is_string($v_value)) { 1905 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '". PclZipUtilOptionText($v_key)."'");1905 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".ERO_PclZipUtilOptionText($v_key)."'"); 1906 1906 return PclZip::errorCode(); 1907 1907 } 1908 1908 1909 $p_filedescr['new_short_name'] = PclZipUtilPathReduction($v_value);1909 $p_filedescr['new_short_name'] = ERO_PclZipUtilPathReduction($v_value); 1910 1910 1911 1911 if ($p_filedescr['new_short_name'] == '') { 1912 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty short filename for attribute '". PclZipUtilOptionText($v_key)."'");1912 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty short filename for attribute '".ERO_PclZipUtilOptionText($v_key)."'"); 1913 1913 return PclZip::errorCode(); 1914 1914 } … … 1917 1917 case PCLZIP_ATT_FILE_NEW_FULL_NAME : 1918 1918 if (!is_string($v_value)) { 1919 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '". PclZipUtilOptionText($v_key)."'");1919 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".ERO_PclZipUtilOptionText($v_key)."'"); 1920 1920 return PclZip::errorCode(); 1921 1921 } 1922 1922 1923 $p_filedescr['new_full_name'] = PclZipUtilPathReduction($v_value);1923 $p_filedescr['new_full_name'] = ERO_PclZipUtilPathReduction($v_value); 1924 1924 1925 1925 if ($p_filedescr['new_full_name'] == '') { 1926 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty full filename for attribute '". PclZipUtilOptionText($v_key)."'");1926 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid empty full filename for attribute '".ERO_PclZipUtilOptionText($v_key)."'"); 1927 1927 return PclZip::errorCode(); 1928 1928 } … … 1932 1932 case PCLZIP_ATT_FILE_COMMENT : 1933 1933 if (!is_string($v_value)) { 1934 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '". PclZipUtilOptionText($v_key)."'");1934 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". String expected for attribute '".ERO_PclZipUtilOptionText($v_key)."'"); 1935 1935 return PclZip::errorCode(); 1936 1936 } … … 1941 1941 case PCLZIP_ATT_FILE_MTIME : 1942 1942 if (!is_integer($v_value)) { 1943 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". Integer expected for attribute '". PclZipUtilOptionText($v_key)."'");1943 PclZip::privErrorLog(PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE, "Invalid type ".gettype($v_value).". Integer expected for attribute '".ERO_PclZipUtilOptionText($v_key)."'"); 1944 1944 return PclZip::errorCode(); 1945 1945 } … … 1968 1968 // ----- Look if present 1969 1969 if (!isset($p_file_list[$key])) { 1970 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ". PclZipUtilOptionText($key)."(".$key.")");1970 PclZip::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Missing mandatory parameter ".ERO_PclZipUtilOptionText($key)."(".$key.")"); 1971 1971 return PclZip::errorCode(); 1972 1972 } … … 2012 2012 // ----- Reduce the filename 2013 2013 $v_descr['filename'] = ERO_PclZipUtilTranslateWinPath($v_descr['filename'], false); 2014 $v_descr['filename'] = PclZipUtilPathReduction($v_descr['filename']);2014 $v_descr['filename'] = ERO_PclZipUtilPathReduction($v_descr['filename']); 2015 2015 2016 2016 // ----- Look for real file or folder … … 2329 2329 // TBC : I should test the result ... 2330 2330 //@rename($v_zip_temp_name, $this->zipname); 2331 PclZipUtilRename($v_zip_temp_name, $this->zipname);2331 ERO_PclZipUtilRename($v_zip_temp_name, $this->zipname); 2332 2332 2333 2333 // ----- Return … … 2636 2636 // Only some fields can be modified 2637 2637 if ($p_header['stored_filename'] != $v_local_header['stored_filename']) { 2638 $p_header['stored_filename'] = PclZipUtilPathReduction($v_local_header['stored_filename']);2638 $p_header['stored_filename'] = ERO_PclZipUtilPathReduction($v_local_header['stored_filename']); 2639 2639 } 2640 2640 } … … 2985 2985 } 2986 2986 2987 $v_compare = PclZipUtilPathInclusion($p_remove_dir,2987 $v_compare = ERO_PclZipUtilPathInclusion($p_remove_dir, 2988 2988 $v_stored_filename); 2989 2989 if ($v_compare > 0) { … … 3011 3011 3012 3012 // ----- Filename (reduce the path of stored name) 3013 $v_stored_filename = PclZipUtilPathReduction($v_stored_filename);3013 $v_stored_filename = ERO_PclZipUtilPathReduction($v_stored_filename); 3014 3014 $p_filedescr['stored_filename'] = $v_stored_filename; 3015 3015 … … 3244 3244 3245 3245 // ----- Get the interesting attributes 3246 $v_temp_path = PclZipUtilPathReduction($p_header['filename']);3246 $v_temp_path = ERO_PclZipUtilPathReduction($p_header['filename']); 3247 3247 $p_info['filename'] = $v_temp_path; 3248 $v_temp_path = PclZipUtilPathReduction($p_header['stored_filename']);3248 $v_temp_path = ERO_PclZipUtilPathReduction($p_header['stored_filename']); 3249 3249 $p_info['stored_filename'] = $v_temp_path; 3250 3250 $p_info['size'] = $p_header['size']; … … 3652 3652 else if ($p_remove_path != "") 3653 3653 { 3654 if ( PclZipUtilPathInclusion($p_remove_path, $p_entry['filename']) == 2)3654 if (ERO_PclZipUtilPathInclusion($p_remove_path, $p_entry['filename']) == 2) 3655 3655 { 3656 3656 … … 3680 3680 if (isset($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION])) { 3681 3681 $v_inclusion 3682 = PclZipUtilPathInclusion($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION],3682 = ERO_PclZipUtilPathInclusion($p_options[PCLZIP_OPT_EXTRACT_DIR_RESTRICTION], 3683 3683 $p_entry['filename']); 3684 3684 if ($v_inclusion == 0) { … … 4895 4895 4896 4896 // ----- Read/write the data block 4897 if (($v_result = PclZipUtilCopyBlock($this->zip_fd, $v_temp_zip->zip_fd, $v_header_list[$i]['compressed_size'])) != 1) {4897 if (($v_result = ERO_PclZipUtilCopyBlock($this->zip_fd, $v_temp_zip->zip_fd, $v_header_list[$i]['compressed_size'])) != 1) { 4898 4898 // ----- Close the zip file 4899 4899 $this->privCloseFd(); … … 4958 4958 // TBC : I should test the result ... 4959 4959 //@rename($v_zip_temp_name, $this->zipname); 4960 PclZipUtilRename($v_zip_temp_name, $this->zipname);4960 ERO_PclZipUtilRename($v_zip_temp_name, $this->zipname); 4961 4961 4962 4962 // ----- Destroy the temporary archive … … 5222 5222 // TBC : I should test the result ... 5223 5223 //@rename($v_zip_temp_name, $this->zipname); 5224 PclZipUtilRename($v_zip_temp_name, $this->zipname);5224 ERO_PclZipUtilRename($v_zip_temp_name, $this->zipname); 5225 5225 5226 5226 // ----- Return … … 5394 5394 5395 5395 // -------------------------------------------------------------------------------- 5396 // Function : PclZipUtilPathReduction()5396 // Function : ERO_PclZipUtilPathReduction() 5397 5397 // Description : 5398 5398 // Parameters : 5399 5399 // Return Values : 5400 5400 // -------------------------------------------------------------------------------- 5401 function PclZipUtilPathReduction($p_dir)5401 function ERO_PclZipUtilPathReduction($p_dir) 5402 5402 { 5403 5403 $v_result = ""; … … 5466 5466 5467 5467 // -------------------------------------------------------------------------------- 5468 // Function : PclZipUtilPathInclusion()5468 // Function : ERO_PclZipUtilPathInclusion() 5469 5469 // Description : 5470 5470 // This function indicates if the path $p_path is under the $p_dir tree. Or, … … 5480 5480 // 2 if $p_path is exactly the same as $p_dir 5481 5481 // -------------------------------------------------------------------------------- 5482 function PclZipUtilPathInclusion($p_dir, $p_path)5482 function ERO_PclZipUtilPathInclusion($p_dir, $p_path) 5483 5483 { 5484 5484 $v_result = 1; … … 5547 5547 5548 5548 // -------------------------------------------------------------------------------- 5549 // Function : PclZipUtilCopyBlock()5549 // Function : ERO_PclZipUtilCopyBlock() 5550 5550 // Description : 5551 5551 // Parameters : … … 5557 5557 // Return Values : 5558 5558 // -------------------------------------------------------------------------------- 5559 function PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode=0)5559 function ERO_PclZipUtilCopyBlock($p_src, $p_dest, $p_size, $p_mode=0) 5560 5560 { 5561 5561 $v_result = 1; … … 5608 5608 5609 5609 // -------------------------------------------------------------------------------- 5610 // Function : PclZipUtilRename()5610 // Function : ERO_PclZipUtilRename() 5611 5611 // Description : 5612 5612 // This function tries to do a simple rename() function. If it fails, it … … 5619 5619 // 1 on success, 0 on failure. 5620 5620 // -------------------------------------------------------------------------------- 5621 function PclZipUtilRename($p_src, $p_dest)5621 function ERO_PclZipUtilRename($p_src, $p_dest) 5622 5622 { 5623 5623 $v_result = 1; … … 5641 5641 5642 5642 // -------------------------------------------------------------------------------- 5643 // Function : PclZipUtilOptionText()5643 // Function : ERO_PclZipUtilOptionText() 5644 5644 // Description : 5645 5645 // Translate option value in text. Mainly for debug purpose. … … 5649 5649 // The option text value. 5650 5650 // -------------------------------------------------------------------------------- 5651 function PclZipUtilOptionText($p_option)5651 function ERO_PclZipUtilOptionText($p_option) 5652 5652 { 5653 5653
Note: See TracChangeset
for help on using the changeset viewer.