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
|
@@ 295-299 (lines=5) @@
|
292 |
|
$initial_slashes = false; |
293 |
|
} |
294 |
|
|
295 |
|
if (($initial_slashes) |
296 |
|
&& (strpos($path, '//') === 0) |
297 |
|
&& (strpos($path, '///') === false)) { |
298 |
|
$initial_slashes = 2; |
299 |
|
} |
300 |
|
|
301 |
|
$initial_slashes = (int) $initial_slashes; |
302 |
|
|