note 33211 deleted from function.get-browser by sniper
| From: | sniper@php.net | Date: | Tue, 24 Feb 2004 23:05:29 +0000 |
| Subject: | note 33211 deleted from function.get-browser by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65671@lists.php.net to get a copy of this message | ||
Note Submitter: claus.bruun AT hostpartner . dk
----
The above snippet will always set NW_IS_GEN3 to true.
This might work:
define("NW_IS_GEN3", (NW_IS_NN < 4 && NW_IS_NN > 0) ||
(NW_IS_OPERA < 4 && NW_IS_OPERA > 0) ||
(NW_IS_IE < 4 && NW_IS_IE > 0) ||
(NW_MOZ_VERSION < 4 && NW_MOZ_VERSION > 0));