@@ -10,7 +10,7 @@ |
||
| 10 | 10 | $pathParts = explode('/', $path); |
| 11 | 11 | array_shift($pathParts); |
| 12 | 12 | $pathPartsReconstruction = ''; |
| 13 | - $parentPath = substr($path, 0, strrpos( $path, '/')); |
|
| 13 | + $parentPath = substr($path, 0, strrpos($path, '/')); |
|
| 14 | 14 | if ($path !== '/' && substr_count($path, '/') === 1) { |
| 15 | 15 | $parentPath = '/'; |
| 16 | 16 | } |