dont include () in link for gmi/gopher users.php

This commit is contained in:
Arya Kiran 2022-11-02 14:19:18 +05:30
parent 37ee8a2ca2
commit d4772571bf
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 2 additions and 2 deletions

View File

@ -53,10 +53,10 @@
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/vern.cc/~$subdir/'>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>";
$list .= " (<a href='//gp.vern.cc/gopher/vern.cc/1/~$subdir/'>gopher</a>)";
$list .= "</li>\n";
$total++;
}