Revert "sort users.php alphabetically"

This reverts commit 82e8f7341a.
This commit is contained in:
Arya Kiran 2022-10-25 17:34:55 +05:30
parent 82e8f7341a
commit 346f3b23af
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 1 additions and 8 deletions

View File

@ -13,14 +13,7 @@
$onlist = array();
$users = explode(' ', shell_exec('users /sshfs/var/run/utmp'));
//$handle = opendir('/sshfs/home');
if ($handle = opendir('/sshfs/home')) {
$files = array();
while ($files[] = readdir($dir));
sort($files);
closedir($handle);
}
$handle = opendir('/sshfs/home');
while (($subdir = readdir($handle)) !== false) {
$online = '<b><span class=';
if ($subdir != '.' && $subdir != '..') {