forked from team/site
skip default pages
This commit is contained in:
parent
446fb2e2cc
commit
fdf576626f
|
@ -94,7 +94,9 @@ $parser = new Mni\FrontYAML\Parser();
|
|||
<ul>
|
||||
<?php
|
||||
foreach (glob("/home/*") as $user):
|
||||
if (!is_dir("$user/public_html")) continue;
|
||||
if (!is_dir("$user/public_html")
|
||||
|| sha1_file("/etc/skel/public_html/index.php") == sha1_file("$user/public_html/index.php"))
|
||||
continue;
|
||||
$user = basename($user); ?>
|
||||
<li style="list-style: none; margin-left: -40px;">
|
||||
<a href="/~<?=$user?>/" class="list-group-item">
|
||||
|
|
Loading…
Reference in New Issue