Now users without sites will not have hyperlinks.
Now users without sites will not have hyperlinks.
This commit is contained in:
parent
c9396b8bec
commit
1f5c056a45
|
@ -20,7 +20,11 @@
|
|||
$online='true';
|
||||
$on++;
|
||||
}
|
||||
$list .= ' <li online="' . $online . '">' . "<a href='https://".$subdir".vern.cc'>".$subdir."</a>" . "</li>\n";
|
||||
$list .= ' <li online="' . $online . '">';
|
||||
if (is_readable('/sshfs/home/' . $subdir . '/public_html/index.html'))
|
||||
$list .= "<a href='//{$subdir}.vern.cc'>{$subdir}</a>";
|
||||
else $list .= $subdir;
|
||||
$list .= "</li>\n";
|
||||
$total++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue