[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.browser.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.browser.inc.php |
Date: |
Tue, 29 Aug 2006 14:57:16 +0000 |
CVSROOT: /cvsroot/phpgwapi
Module name: phpgwapi
Changes by: Dave Hall <skwashd> 06/08/29 14:57:16
Modified files:
inc : class.browser.inc.php
Log message:
php4 fix
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.browser.inc.php?cvsroot=phpgwapi&r1=1.21&r2=1.22
Patches:
Index: class.browser.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.browser.inc.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- class.browser.inc.php 29 Aug 2006 08:03:37 -0000 1.21
+++ class.browser.inc.php 29 Aug 2006 14:57:16 -0000 1.22
@@ -7,7 +7,7 @@
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage network
- * @version $Id: class.browser.inc.php,v 1.21 2006/08/29 08:03:37
skwashd Exp $
+ * @version $Id: class.browser.inc.php,v 1.22 2006/08/29 14:57:16
skwashd Exp $
* @internal Majority of code borrowed from Sourceforge 2.5
*/
@@ -297,7 +297,7 @@
*/
function is_mobile()
{
- return stripos($_SERVER['HTTP_ACCEPT'],
'text/vnd.wap.wml') > 0;
+ return strpos(strtolower($_SERVER['HTTP_ACCEPT']),
'text/vnd.wap.wml') > 0;
}
}
?>