From 4fe71068196c3ead4eb333ec4747ad64d6861530 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Tue, 19 Mar 2013 11:01:13 +0900 Subject: [PATCH] =?UTF-8?q?windows8=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/visit.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/visit.lib.php b/lib/visit.lib.php index 9c28f0da8..fd8c3fe1e 100644 --- a/lib/visit.lib.php +++ b/lib/visit.lib.php @@ -68,6 +68,7 @@ function get_os($agent) else if(preg_match("/windows nt 5\.2/", $agent)) { $s = "2003"; } else if(preg_match("/windows nt 6\.0/", $agent)) { $s = "Vista"; } else if(preg_match("/windows nt 6\.1/", $agent)) { $s = "Windows7"; } + else if(preg_match("/windows nt 6\.2/", $agent)) { $s = "Windows8"; } else if(preg_match("/windows 9x/", $agent)) { $s = "ME"; } else if(preg_match("/windows ce/", $agent)) { $s = "CE"; } else if(preg_match("/mac/", $agent)) { $s = "MAC"; }