From: Yves K. <yku...@us...> - 2004-11-07 00:26:39
|
Update of /cvsroot/phpwebsite-comm/modules/xwysiwyg/mod/xwysiwyg/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29792/modules/xwysiwyg/mod/xwysiwyg/class Modified Files: phpSniff.class.php Log Message: Updated to the actual sniffer Index: phpSniff.class.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/xwysiwyg/mod/xwysiwyg/class/phpSniff.class.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** phpSniff.class.php 26 Oct 2004 07:31:52 -0000 1.2 --- phpSniff.class.php 7 Nov 2004 00:24:33 -0000 1.3 *************** *** 1,36 **** <?php ! /******************************************************************************* ! $Id$ ! ! phpSniff: HTTP_USER_AGENT Client Sniffer for PHP ! Copyright (C) 2001 Roger Raymond ~ eps...@us... ! ! This library is free software; you can redistribute it and/or ! modify it under the terms of the GNU Lesser General Public ! License as published by the Free Software Foundation; either [...999 lines suppressed...] + function _set_browser ($k,$v) + { $this->_browser_info[strtolower($k)] = strtolower($v); + } + + /** + * @access private + */ + function _set_feature ($k) + { $this->_feature_set[strtolower($k)] = !$this->_feature_set[strtolower($k)]; + } + + /** + * @access private + */ + function _set_quirk ($k) + { $this->_quirks[strtolower($k)] = true; + } } ?> \ No newline at end of file |