Browscap 관련 코드 수정

This commit is contained in:
chicpro
2015-11-12 16:49:32 +09:00
parent 37e45d81be
commit 80d72627b0
12 changed files with 206 additions and 40 deletions

View File

@ -17,7 +17,7 @@ $result = sql_query($sql);
while ($row=sql_fetch_array($result)) {
$s = $row['vi_device'];
if(!$s)
$s = get_device($row['vi_agent']);
$s = '기타';
$arr[$s]++;
@ -65,7 +65,7 @@ while ($row=sql_fetch_array($result)) {
}
if (!$key) {
$key = 'Unknown';
$key = '기타';
}
$rate = ($count / $sum_count * 100);