removed experimental browser sniffer calls
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Jul 2002 21:44:22 +0000 (21:44 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 31 Jul 2002 21:44:22 +0000 (21:44 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3212 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/login.php

index c6bbb30..698262c 100644 (file)
@@ -17,7 +17,7 @@ require_once('../functions/i18n.php');
 require_once('../functions/plugin.php');
 require_once('../functions/constants.php');
 require_once('../functions/page_header.php');
-require_once('../class/browser.class');
+//require_once('../class/browser.class.php');
 
 // initialize some vars
 if(!isset($UA)) $UA = '';
@@ -25,10 +25,10 @@ if(!isset($cc)) $cc = '';
 if(!isset($dl)) $dl = '';
 if(!isset($am)) $am = '';
 
-$sniffer_settings = array('check_cookies'=>$cc,
-                          'default_language'=>$dl,
-                          'allow_masquerading'=>$am);
-$browser = new phpSniff($UA,$sniffer_settings);
+//$sniffer_settings = array('check_cookies'=>$cc,
+//                          'default_language'=>$dl,
+//                          'allow_masquerading'=>$am);
+//$browser = new phpSniff($UA,$sniffer_settings);
 
 /*
  * $squirrelmail_language is set by a cookie when the user selects
@@ -45,7 +45,7 @@ if (!function_exists('sqm_baseuri')){
 $base_uri = sqm_baseuri();
 @session_destroy();
 session_start();
-session_register('browser');
+//session_register('browser');
 /*
  * In case the last session was not terminated properly, make sure
  * we get a new one.