[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/includes/ -> agent_os.php (source)

   1  <?php
   2  /**
   3  * @version $Id: agent_os.php 87 2005-09-15 23:12:03Z eddieajau $
   4  * @package Joomla
   5  * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
   6  * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
   7  * Joomla! is free software. This version may have been modified pursuant
   8  * to the GNU General Public License, and as distributed it includes or
   9  * is derivative of works licensed under the GNU General Public License or
  10  * other free or open source software licenses.
  11  * See COPYRIGHT.php for copyright notices and details.
  12  */
  13  
  14  // no direct access
  15  defined( '_VALID_MOS' ) or die( 'Restricted access' );
  16  
  17  /**
  18  * AWSTATS BROWSERS DATABASE
  19  * If you want to add a Browser to extend AWStats database detection capabilities,
  20  * you must add an entry in BrowsersSearchIDOrder and in BrowsersHashIDLib.
  21  */
  22  
  23  $osSearchOrder = array (
  24  'windows nt 6\.0',
  25  'windows nt 5\.2',
  26  'windows nt 5\.1',
  27  'windows nt 5\.0',
  28  'winnt4\.0',
  29  'winnt',
  30  'windows 98',
  31  'windows 95',
  32  'win98',
  33  'win95',
  34  'mac os x',
  35  'debian',
  36  'freebsd',
  37  'linux',
  38  'ppc',
  39  'beos',
  40  'sunos',
  41  'apachebench',
  42  'aix',
  43  'irix',
  44  'osf',
  45  'hp-ux',
  46  'netbsd',
  47  'bsdi',
  48  'openbsd',
  49  'gnu',
  50  'unix'
  51  );
  52  
  53  $osAlias = array (
  54  'windows nt 6\.0'     => 'Windows Longhorn',
  55  'windows nt 5\.2'     => 'Windows 2003',
  56  'windows nt 5\.0'     => 'Windows 2000',
  57  'windows nt 5\.1'    => 'Windows XP',
  58  'winnt'             => 'Windows NT',
  59  'winnt 4\.0'         => 'Windows NT',
  60  'windows 98'         => 'Windows 98',
  61  'win98'             => 'Windows 98',
  62  'windows 95'         => 'Windows 95',
  63  'win95'             => 'Windows 95',
  64  'sunos'             => 'Sun Solaris',
  65  'freebsd'             => 'FreeBSD',
  66  'ppc'                 => 'Macintosh',
  67  'mac os x'             => 'Mac OS X',
  68  'linux'             => 'Linux',
  69  'debian'             => 'Debian',
  70  'beos'                 => 'BeOS',
  71  'winnt4\.0'         => 'Windows NT 4.0',
  72  'apachebench'         => 'ApacheBench',
  73  'aix'                 => 'AIX',
  74  'irix'                 => 'Irix',
  75  'osf'                 => 'DEC OSF',
  76  'hp-ux'             => 'HP-UX',
  77  'netbsd'             => 'NetBSD',
  78  'bsdi'                 => 'BSDi',
  79  'openbsd'             => 'OpenBSD',
  80  'gnu'                 => 'GNU/Linux',
  81  'unix'                 => 'Unknown Unix system'
  82  );
  83  ?>


Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics