mirror of
https://github.com/ThunixdotNet/www.git
synced 2026-01-24 07:10:18 +00:00
There is an index.html already
This commit is contained in:
@@ -4,7 +4,6 @@ print "<!-- Begin autogen userdir list -->";
|
|||||||
print "<ul style='list-style: none; margin-left: -40px;'>";
|
print "<ul style='list-style: none; margin-left: -40px;'>";
|
||||||
foreach (glob("/home/*") as $userpath):
|
foreach (glob("/home/*") as $userpath):
|
||||||
if (is_dir("$userpath/public_html"))
|
if (is_dir("$userpath/public_html"))
|
||||||
if (count(scandir("$userpath/public_html")) != 2)
|
|
||||||
{
|
{
|
||||||
$user = basename($userpath);
|
$user = basename($userpath);
|
||||||
if(sha1_file($html_skel) == sha1_file("$userpath/public_html/index.html"))
|
if(sha1_file($html_skel) == sha1_file("$userpath/public_html/index.html"))
|
||||||
|
|||||||
Reference in New Issue
Block a user