@@ 5020-5022 (lines=3) @@ | ||
5017 | $v_result = 1; |
|
5018 | ||
5019 | // ----- Look for path beginning by ./ |
|
5020 | if (($p_dir == '.') || ((strlen($p_dir) >= 2) && (substr($p_dir, 0, 2) == './'))) { |
|
5021 | $p_dir = PclZipUtilTranslateWinPath(getcwd(), false) . '/' . substr($p_dir, 1); |
|
5022 | } |
|
5023 | if (($p_path == '.') || ((strlen($p_path) >= 2) && (substr($p_path, 0, 2) == './'))) { |
|
5024 | $p_path = PclZipUtilTranslateWinPath(getcwd(), false) . '/' . substr($p_path, 1); |
|
5025 | } |
|
@@ 5023-5025 (lines=3) @@ | ||
5020 | if (($p_dir == '.') || ((strlen($p_dir) >= 2) && (substr($p_dir, 0, 2) == './'))) { |
|
5021 | $p_dir = PclZipUtilTranslateWinPath(getcwd(), false) . '/' . substr($p_dir, 1); |
|
5022 | } |
|
5023 | if (($p_path == '.') || ((strlen($p_path) >= 2) && (substr($p_path, 0, 2) == './'))) { |
|
5024 | $p_path = PclZipUtilTranslateWinPath(getcwd(), false) . '/' . substr($p_path, 1); |
|
5025 | } |
|
5026 | ||
5027 | // ----- Explode dir and path by directory separator |
|
5028 | $v_list_dir = explode('/', $p_dir); |