diff --git a/components/members.php b/components/members.php index 646d34a43b5441010ec8a8cabb3dad7d9228e1f3..165a4198fa2ac75cc362f4696673a235d3ebeae0 100644 --- a/components/members.php +++ b/components/members.php @@ -54,8 +54,7 @@ if ($session->loggedin) { $usernames[0]['plan'] = file_get_contents($usernames[0]['homedir'] . '/.plan'); } // Website - if ( file_exists( $usernames[0]['homedir'] . '/public_html') && - !file_exists( $usernames[0]['homedir'] . '/public_html/robots.txt')) { + if ( file_exists( $usernames[0]['homedir'] . '/public_html')) { $usernames[0]['website'] = true; } // Blog @@ -139,7 +138,7 @@ if ($session->loggedin) { $stats['recent'][$i]['real'] = FALSE; } } - + $smarty->assign("stats", $stats); $secondary = $smarty->get_template_vars("secondary"); $secondary .= $smarty->fetch("banana-leaders.tpl"); @@ -151,14 +150,13 @@ if ($session->loggedin) { $usernames = $members->getMemberList(); foreach ($usernames as $user) { - if ( file_exists( $user['homedir'] . '/public_html') && - !file_exists( $user['homedir'] . '/public_html/robots.txt')) { + if ( file_exists( $user['homedir'] . '/public_html')) { $public_usernames[] = $user; } } $smarty->assign("public_members", $public_usernames); } - + $smarty->assign('url', $component['path']); $smarty->assign('extra_styles', "/css/members.css");