|
@@ 1452-1465 (lines=14) @@
|
| 1449 |
|
// ----- Look for options that request a path value |
| 1450 |
|
case PCLZIP_OPT_PATH : |
| 1451 |
|
case PCLZIP_OPT_REMOVE_PATH : |
| 1452 |
|
case PCLZIP_OPT_ADD_PATH : |
| 1453 |
|
// ----- Check the number of parameters |
| 1454 |
|
if (($i+1) >= $p_size) { |
| 1455 |
|
// ----- Error log |
| 1456 |
|
PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); |
| 1457 |
|
|
| 1458 |
|
// ----- Return |
| 1459 |
|
return PclZip::errorCode(); |
| 1460 |
|
} |
| 1461 |
|
|
| 1462 |
|
// ----- Get the value |
| 1463 |
|
$v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE); |
| 1464 |
|
$i++; |
| 1465 |
|
break; |
| 1466 |
|
|
| 1467 |
|
case PCLZIP_OPT_TEMP_FILE_THRESHOLD : |
| 1468 |
|
// ----- Check the number of parameters |
|
@@ 1731-1744 (lines=14) @@
|
| 1728 |
|
break; |
| 1729 |
|
|
| 1730 |
|
// ----- Look for options that request an octal value |
| 1731 |
|
case PCLZIP_OPT_SET_CHMOD : |
| 1732 |
|
// ----- Check the number of parameters |
| 1733 |
|
if (($i+1) >= $p_size) { |
| 1734 |
|
// ----- Error log |
| 1735 |
|
PclZip::privErrorLog(PCLZIP_ERR_MISSING_OPTION_VALUE, "Missing parameter value for option '".PclZipUtilOptionText($p_options_list[$i])."'"); |
| 1736 |
|
|
| 1737 |
|
// ----- Return |
| 1738 |
|
return PclZip::errorCode(); |
| 1739 |
|
} |
| 1740 |
|
|
| 1741 |
|
// ----- Get the value |
| 1742 |
|
$v_result_list[$p_options_list[$i]] = $p_options_list[$i+1]; |
| 1743 |
|
$i++; |
| 1744 |
|
break; |
| 1745 |
|
|
| 1746 |
|
// ----- Look for options that request a call-back |
| 1747 |
|
case PCLZIP_CB_PRE_EXTRACT : |