enchancements from robje

git-svn-id: http://www.observium.org/svn/observer/trunk@2008 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-03 17:09:09 +00:00
parent a16f1ee071
commit 402acf67e9
3 changed files with 9 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ include("includes/functions.php");
$ports = mysql_result(mysql_query("SELECT count(*) FROM ports"),0);
$devices = mysql_result(mysql_query("SELECT count(*) FROM devices"),0);
$dataHandle = fopen("http://www.observium.org/latest.php?i=$ports&d=$devices&v=".$config['version'], r);
$dataHandle = fopen("http://www.observium.org/latest.php?i=$ports&d=$devices&v=".$config['version'], 'r');
if ($dataHandle)
{