users.php: use user.vern.cc links for gemini

This commit is contained in:
Arya Kiran 2022-12-14 17:47:45 +05:30
parent 2129671e8e
commit 9d9e754d83
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
is_readable($ph_index . 'sh') ||
is_readable($ph_index . 'pl') ||
is_readable($ph_index . 'lua')) // There must be a better way to do this
$list .= " (<a href='//gp.vern.cc/gemini/vern.cc/~$subdir/'>gemini</a>)";
$list .= " (<a href='//gp.vern.cc/gemini/$subdir.vern.cc/'>gemini</a>)";
$ph_index = '/sshfs/home/' . $subdir . '/public_gopher/gopher';
if (is_readable($ph_index . 'map')) // There must be a better way to do this
$list .= " (<a href='//gp.vern.cc/gopher/vern.cc/1/~$subdir/'>gopher</a>)";