Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit a269a69

Browse files
committed
Fixed UnixSystem validatePath
1 parent b0b91dd commit a269a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System/UnixSystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function validatePath($path)
4141
{
4242
$absPath = $this->getAbsolutePath($path);
4343
$absPathParts = preg_split('/\//', preg_replace('/(^\/|\/$)/', '', $absPath));
44-
$nSteps = count($absPath);
44+
$nSteps = count($absPathParts);
4545

4646
$tmpPath = '';
4747
$prevReadable = false;

0 commit comments

Comments
 (0)