diff --git a/includes/users.php b/includes/users.php
index d1f413d..a4ef7c5 100644
--- a/includes/users.php
+++ b/includes/users.php
@@ -2,10 +2,11 @@
print "";
print "
";
foreach (glob("/home/*") as $user):
- if (!is_dir($user . "/public_html") || (!file_exists($user . "/public_html/index.html") && !file_exists($user . "/public_html/index.php")))
- continue;
- $user = basename($user);
- print"- ~$user
";
+ if (is_dir($user . "/public_html") && (file_exists($user . "/public_html/index.html") || file_exists($user . "/public_html/index.php")))
+ {
+ $user = basename($user);
+ print"- ~$user
";
+ }
endforeach;
print "
";