new feature: webring

This commit is contained in:
2026-05-25 12:39:40 +02:00
parent ea5e654c65
commit 169a1c1c4d
5 changed files with 86 additions and 0 deletions

19
webring/members.php Normal file
View File

@@ -0,0 +1,19 @@
<?php
$members = [];
foreach (scandir("/home/") as $user) {
if (in_array($user, array('.', '..'))) continue;
$webring_file = "/home/$user/public_html/.webring";
if (is_file($webring_file)) {
array_push($members, ['name' => $user, 'url' => 'https://tylda.org/~'.$user]);
}
}
return $members;
?>