forked from vern/website
fix gopher part of users.php
This commit is contained in:
parent
9f69fa98e6
commit
6cf1d1b350
|
@ -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++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue