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

Commit ce76393

Browse files
authored
Merge pull request #13 from bstoney/patch-1
Fixed UnixSystem validatePath
2 parents c3ff2b4 + c286cd1 commit ce76393

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
@@ -77,7 +77,7 @@ public function validatePath($path)
7777
{
7878
$absPath = $this->getAbsolutePath($path);
7979
$absPathParts = preg_split('/\//', preg_replace('/(^\/|\/$)/', '', $absPath));
80-
$nSteps = count($absPath);
80+
$nSteps = count($absPathParts);
8181

8282
$tmpPath = '';
8383
$prevReadable = false;

0 commit comments

Comments
 (0)