@@ 1406-1410 (lines=5) @@ | ||
1403 | } |
|
1404 | ||
1405 | // ----- Check for incompatible options |
|
1406 | if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { |
|
1407 | self::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '" . PclZipUtilOptionText($p_options_list[$i]) . "' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); |
|
1408 | ||
1409 | return self::errorCode(); |
|
1410 | } |
|
1411 | ||
1412 | // ----- Check the value |
|
1413 | $v_value = $p_options_list[$i + 1]; |
|
@@ 1427-1431 (lines=5) @@ | ||
1424 | ||
1425 | case PCLZIP_OPT_TEMP_FILE_ON: |
|
1426 | // ----- Check for incompatible options |
|
1427 | if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_OFF])) { |
|
1428 | self::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '" . PclZipUtilOptionText($p_options_list[$i]) . "' can not be used with option 'PCLZIP_OPT_TEMP_FILE_OFF'"); |
|
1429 | ||
1430 | return self::errorCode(); |
|
1431 | } |
|
1432 | ||
1433 | $v_result_list[$p_options_list[$i]] = true; |
|
1434 | break; |
|
@@ 1438-1442 (lines=5) @@ | ||
1435 | ||
1436 | case PCLZIP_OPT_TEMP_FILE_OFF: |
|
1437 | // ----- Check for incompatible options |
|
1438 | if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_ON])) { |
|
1439 | self::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '" . PclZipUtilOptionText($p_options_list[$i]) . "' can not be used with option 'PCLZIP_OPT_TEMP_FILE_ON'"); |
|
1440 | ||
1441 | return self::errorCode(); |
|
1442 | } |
|
1443 | // ----- Check for incompatible options |
|
1444 | if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) { |
|
1445 | self::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '" . PclZipUtilOptionText($p_options_list[$i]) . "' can not be used with option 'PCLZIP_OPT_TEMP_FILE_THRESHOLD'"); |
|
@@ 1444-1448 (lines=5) @@ | ||
1441 | return self::errorCode(); |
|
1442 | } |
|
1443 | // ----- Check for incompatible options |
|
1444 | if (isset($v_result_list[PCLZIP_OPT_TEMP_FILE_THRESHOLD])) { |
|
1445 | self::privErrorLog(PCLZIP_ERR_INVALID_PARAMETER, "Option '" . PclZipUtilOptionText($p_options_list[$i]) . "' can not be used with option 'PCLZIP_OPT_TEMP_FILE_THRESHOLD'"); |
|
1446 | ||
1447 | return self::errorCode(); |
|
1448 | } |
|
1449 | $v_result_list[$p_options_list[$i]] = true; |
|
1450 | break; |
|
1451 |