From 4545fc38901e00ccdfb6f33b4745c3bba742a6c6 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 24 Aug 2003 22:35:57 +0000 Subject: [PATCH] Solved one condition that caused some errors in Win32 when extracting. --- lib/pclzip/pclzip.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pclzip/pclzip.lib.php b/lib/pclzip/pclzip.lib.php index c310856330..466997cdf1 100644 --- a/lib/pclzip/pclzip.lib.php +++ b/lib/pclzip/pclzip.lib.php @@ -2629,7 +2629,7 @@ $v_result=1; // ----- Check the path - if (($p_path == "") || ((substr($p_path, 0, 1) != "/") && (substr($p_path, 0, 3) != "../") && (substr($p_path,1,2)!=":/"))) + if (($p_path == "") || ((substr($p_path, 0, 1) != "/") && (substr($p_path, 0, 3) != "../") && (substr($p_path,1,1)!=":"))) $p_path = "./".$p_path; // ----- Reduce the path last (and duplicated) '/' -- 2.39.5