don't show 'auth' as a type :)

git-svn-id: http://www.observium.org/svn/observer/trunk@3044 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong 2012-04-17 14:03:53 +00:00
parent da9463f5fa
commit 5e523e222e

View File

@ -44,7 +44,7 @@ if (!$auth)
{
while (false !== ($file = readdir($handle)))
{
if ($file != "." && $file != ".." && strstr($file, ".inc.php"))
if ($file != "." && $file != ".." && $file != "auth.inc.php" &&strstr($file, ".inc.php"))
{
$types[] = str_replace(".inc.php", "", $file);
}