//--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::privExtract", "list, path=$p_path, remove_path='$p_remove_path', remove_all_path='".($p_remove_all_path?'true':'false')."'");\r
$v_result=1;\r
\r
- // ----- Check the path\r
- if (($p_path == "") || ((substr($p_path, 0, 1) != "/") && (substr($p_path, 0, 3) != "../")))\r
- $p_path = "./".$p_path;\r
+// COMMENTED OUT FOR MOODLE - IT WAS CAUSING PROBLEMS FOR WINDOWS - Martin 25/5/2003\r
+//\r
+// // ----- Check the path\r
+// if (($p_path == "") || ((substr($p_path, 0, 1) != "/") && (substr($p_path, 0, 3) != "../")))\r
+// $p_path = "./".$p_path;\r
+\r
\r
// ----- Reduce the path last (and duplicated) '/'\r
if (($p_path != "./") && ($p_path != "/"))\r
}\r
// --------------------------------------------------------------------------------\r
\r
-?>
\ No newline at end of file
+?>\r