[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/includes/ -> agent_os.php (source)

   1  <?php
   2  /**
   3  * @package Mambo
   4  * @author Mambo Foundation Inc see README.php
   5  * @copyright (C) 2000 - 2009 Mambo Foundation Inc.
   6  * See COPYRIGHT.php for copyright notices and details.
   7  * @license GNU/GPL Version 2, see LICENSE.php
   8  *
   9  * Redistributions of files must retain the above copyright notice.
  10  *
  11  * Mambo is free software; you can redistribute it and/or
  12  * modify it under the terms of the GNU General Public License
  13  * as published by the Free Software Foundation; version 2 of the License.
  14  */
  15  
  16  /** ensure this file is being included by a parent file */
  17  defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
  18  
  19  /**
  20  * AWSTATS BROWSERS DATABASE
  21  * If you want to add a Browser to extend AWStats database detection capabilities,
  22  * you must add an entry in BrowsersSearchIDOrder and in BrowsersHashIDLib.
  23  */
  24  
  25  $osSearchOrder = array (
  26  "windows nt 6\.0",
  27  "windows nt 5\.2",
  28  "windows nt 5\.1",
  29  "windows nt 5\.0",
  30  "winnt4\.0",
  31  "winnt",
  32  "windows 98",
  33  "windows 95",
  34  "win98",
  35  "win95",
  36  "mac os x",
  37  "debian",
  38  "freebsd",
  39  "linux",
  40  "ppc",
  41  "beos",
  42  "sunos",
  43  "apachebench",
  44  "aix",
  45  "irix",
  46  "osf",
  47  "hp-ux",
  48  "netbsd",
  49  "bsdi",
  50  "openbsd",
  51  "gnu",
  52  "unix"
  53  );
  54  
  55  $osAlias = array (
  56  "windows nt 6\.0"=>"Windows Longhorn",
  57  "windows nt 5\.2"=>"Windows 2003",
  58  "windows nt 5\.0"=>"Windows 2000",
  59  "windows nt 5\.1"=>"Windows XP",
  60  "winnt"=>"Windows NT",
  61  "winnt 4\.0"=>"Windows NT",
  62  "windows 98"=>"Windows 98",
  63  "win98"=>"Windows 98",
  64  "windows 95"=>"Windows 95",
  65  "win95"=>"Windows 95",
  66  "sunos"=>"Sun Solaris",
  67  "freebsd"=>"FreeBSD",
  68  "ppc"=>"Macintosh",
  69  "mac os x"=>"Mac OS X",
  70  "linux"=>"Linux",
  71  "debian"=>"Debian",
  72  "beos"=>"BeOS",
  73  "winnt4\.0"=>"Windows NT 4.0",
  74  "apachebench"=>"ApacheBench",
  75  "aix"=>"AIX",
  76  "irix"=>"Irix",
  77  "osf"=>"DEC OSF",
  78  "hp-ux"=>"HP-UX",
  79  "netbsd"=>"NetBSD",
  80  "bsdi"=>"BSDi",
  81  "openbsd"=>"OpenBSD",
  82  "gnu"=>"GNU/Linux",
  83  "unix"=>"Unknown Unix system"
  84  );
  85  ?>