php/elFinderVolumeFTP.class.php 1 location
|
@@ 548-552 (lines=5) @@
|
545 |
|
$initial_slashes = false; |
546 |
|
} |
547 |
|
|
548 |
|
if (($initial_slashes) |
549 |
|
&& (strpos($path, '//') === 0) |
550 |
|
&& (strpos($path, '///') === false)) { |
551 |
|
$initial_slashes = 2; |
552 |
|
} |
553 |
|
|
554 |
|
$initial_slashes = (int) $initial_slashes; |
555 |
|
|
php/elFinderVolumeLocalFileSystem.class.php 1 location
|
@@ 293-297 (lines=5) @@
|
290 |
|
$initial_slashes = false; |
291 |
|
} |
292 |
|
|
293 |
|
if (($initial_slashes) |
294 |
|
&& (strpos($path, '//') === 0) |
295 |
|
&& (strpos($path, '///') === false)) { |
296 |
|
$initial_slashes = 2; |
297 |
|
} |
298 |
|
|
299 |
|
$initial_slashes = (int) $initial_slashes; |
300 |
|
|