now my uppercase Wikileaks folder is correctly sorted below pr0n, like it should be
This commit is contained in:
parent
660e2c8102
commit
8080a1a5a7
|
@ -79,8 +79,8 @@ class OC_FILES {
|
||||||
closedir($dh);
|
closedir($dh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ksort($dirs);
|
uksort($dirs, "strnatcasecmp");
|
||||||
ksort($files);
|
uksort($files, "strnatcasecmp");
|
||||||
$content=array_merge($dirs,$files);
|
$content=array_merge($dirs,$files);
|
||||||
if($filesfound){
|
if($filesfound){
|
||||||
return $content;
|
return $content;
|
||||||
|
@ -401,4 +401,4 @@ class fakeDirStream{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stream_wrapper_register("fakedir", "fakeDirStream");
|
stream_wrapper_register("fakedir", "fakeDirStream");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue