Merge branch 'master' of ssh://vern.cc:1813/vern/website

This commit is contained in:
Arya Kiran 2022-10-03 19:07:40 +05:30
commit 2958d284b6
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,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='//$subdir.vern.cc'>$subdir</a>";
$list .= "<a href='//$_SERVER[HTTP_HOST]/~$subdir'>$subdir</a>";
else $list .= $subdir;
$list .= "</li>\n";
$total++;