Plugin Directory

Changeset 1935059


Ignore:
Timestamp:
09/03/2018 03:14:09 PM (8 years ago)
Author:
khushwant
Message:

fixed a conflict bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • website-backups/trunk/libs/classes/class-erowd_pclzip.php

    r1929434 r1935059  
    14571457
    14581458          // ----- Get the value
    1459           $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE);
     1459          $v_result_list[$p_options_list[$i]] = ERO_PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE);
    14601460          $i++;
    14611461        break;
     
    15241524          if (   is_string($p_options_list[$i+1])
    15251525              && ($p_options_list[$i+1] != '')) {
    1526             $v_result_list[$p_options_list[$i]] = PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE);
     1526            $v_result_list[$p_options_list[$i]] = ERO_PclZipUtilTranslateWinPath($p_options_list[$i+1], FALSE);
    15271527            $i++;
    15281528          }
     
    20112011
    20122012      // ----- Reduce the filename
    2013       $v_descr['filename'] = PclZipUtilTranslateWinPath($v_descr['filename'], false);
     2013      $v_descr['filename'] = ERO_PclZipUtilTranslateWinPath($v_descr['filename'], false);
    20142014      $v_descr['filename'] = PclZipUtilPathReduction($v_descr['filename']);
    20152015
     
    24782478      // ----- Format the filename
    24792479      $p_filedescr_list[$j]['filename']
    2480       = PclZipUtilTranslateWinPath($p_filedescr_list[$j]['filename'], false);
     2480      = ERO_PclZipUtilTranslateWinPath($p_filedescr_list[$j]['filename'], false);
    24812481
    24822482
     
    29422942    if (isset($p_filedescr['new_full_name'])) {
    29432943      // ----- Remove drive letter if any
    2944       $v_stored_filename = PclZipUtilTranslateWinPath($p_filedescr['new_full_name']);
     2944      $v_stored_filename = ERO_PclZipUtilTranslateWinPath($p_filedescr['new_full_name']);
    29452945    }
    29462946
     
    29992999
    30003000      // ----- Remove drive letter if any
    3001       $v_stored_filename = PclZipUtilTranslateWinPath($v_stored_filename);
     3001      $v_stored_filename = ERO_PclZipUtilTranslateWinPath($v_stored_filename);
    30023002
    30033003      // ----- Look for path to add
     
    54875487    if (   ($p_dir == '.')
    54885488        || ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) {
    5489       $p_dir = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1);
     5489      $p_dir = ERO_PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1);
    54905490    }
    54915491    if (   ($p_path == '.')
    54925492        || ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) {
    5493       $p_path = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1);
     5493      $p_path = ERO_PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1);
    54945494    }
    54955495
     
    56705670
    56715671  // --------------------------------------------------------------------------------
    5672   // Function : PclZipUtilTranslateWinPath()
     5672  // Function : ERO_PclZipUtilTranslateWinPath()
    56735673  // Description :
    56745674  //   Translate windows path by replacing '\' by '/' and optionally removing
     
    56805680  //   The path translated.
    56815681  // --------------------------------------------------------------------------------
    5682   function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter=true)
     5682  function ERO_PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter=true)
    56835683  {
    56845684    if (stristr(php_uname(), 'windows')) {
Note: See TracChangeset for help on using the changeset viewer.