mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #3027 from stevie-mayhew/patch-3
FIX Delete Character \x01
This commit is contained in:
commit
bd39dc2d84
@ -48,7 +48,7 @@ $dirsToCheck = array(
|
|||||||
if($dirsToCheck[0] == $dirsToCheck[1]) {
|
if($dirsToCheck[0] == $dirsToCheck[1]) {
|
||||||
unset($dirsToCheck[1]);
|
unset($dirsToCheck[1]);
|
||||||
}
|
}
|
||||||
foreach($dirsToCheck as $dir) {
|
foreach($dirsToCheck as $dir) {
|
||||||
//check this dir and every parent dir (until we hit the base of the drive)
|
//check this dir and every parent dir (until we hit the base of the drive)
|
||||||
// or until we hit a dir we can't read
|
// or until we hit a dir we can't read
|
||||||
do {
|
do {
|
||||||
|
Loading…
Reference in New Issue
Block a user