|
@@ 5480-5483 (lines=4) @@
|
| 5477 |
|
$v_result = 1; |
| 5478 |
|
|
| 5479 |
|
// ----- Look for path beginning by ./ |
| 5480 |
|
if ( ($p_dir == '.') |
| 5481 |
|
|| ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) { |
| 5482 |
|
$p_dir = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1); |
| 5483 |
|
} |
| 5484 |
|
if ( ($p_path == '.') |
| 5485 |
|
|| ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) { |
| 5486 |
|
$p_path = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1); |
|
@@ 5484-5487 (lines=4) @@
|
| 5481 |
|
|| ((strlen($p_dir) >=2) && (substr($p_dir, 0, 2) == './'))) { |
| 5482 |
|
$p_dir = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_dir, 1); |
| 5483 |
|
} |
| 5484 |
|
if ( ($p_path == '.') |
| 5485 |
|
|| ((strlen($p_path) >=2) && (substr($p_path, 0, 2) == './'))) { |
| 5486 |
|
$p_path = PclZipUtilTranslateWinPath(getcwd(), FALSE).'/'.substr($p_path, 1); |
| 5487 |
|
} |
| 5488 |
|
|
| 5489 |
|
// ----- Explode dir and path by directory separator |
| 5490 |
|
$v_list_dir = explode("/", $p_dir); |