| @@ -263,22 +263,22 @@ | ||
| 263 | 263 | $iCnt = 0; | 
| 264 | 264 |  		foreach ($aPath as $iKey => $sFolder) { | 
| 265 | 265 |  			switch ($sFolder) { | 
| 266 | - case '..': | |
| 267 | - $iCnt++; | |
| 268 | - | |
| 269 | - unset ($aPath[$iKey]); | |
| 270 | -					if (array_key_exists($iKey - 1, $aPath)) { | |
| 271 | - $iPrevKey = $iKey - 1; | |
| 272 | -					} else { | |
| 273 | - $sPrev = prev($aPath); | |
| 274 | - $iPrevKey = array_search($sPrev, $aPath); | |
| 275 | - } | |
| 276 | - unset ($aPath[$iPrevKey]); | |
| 277 | - break; | |
| 278 | - case '.': | |
| 279 | - case '': | |
| 280 | - unset ($aPath[$iKey]); | |
| 281 | - break; | |
| 266 | + case '..': | |
| 267 | + $iCnt++; | |
| 268 | + | |
| 269 | + unset ($aPath[$iKey]); | |
| 270 | +				if (array_key_exists($iKey - 1, $aPath)) { | |
| 271 | + $iPrevKey = $iKey - 1; | |
| 272 | +				} else { | |
| 273 | + $sPrev = prev($aPath); | |
| 274 | + $iPrevKey = array_search($sPrev, $aPath); | |
| 275 | + } | |
| 276 | + unset ($aPath[$iPrevKey]); | |
| 277 | + break; | |
| 278 | + case '.': | |
| 279 | + case '': | |
| 280 | + unset ($aPath[$iKey]); | |
| 281 | + break; | |
| 282 | 282 | } | 
| 283 | 283 | } | 
| 284 | 284 | |