fix gopher part of users.php

This commit is contained in:
Arya Kiran 2022-11-01 09:29:49 +05:30
parent 9f69fa98e6
commit 6cf1d1b350
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 3 additions and 3 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>";
$ph_index = '/sshfs/home/' . $subdir . '/public_gemini/gopher';
$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++;
}