Changeset 2995 for trunk/system/core/Kohana.php
- Timestamp:
- 07/08/2008 02:36:45 AM (5 months ago)
- Files:
-
- 1 modified
-
trunk/system/core/Kohana.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/core/Kohana.php
r2981 r2995 1207 1207 if (stripos(Kohana::$user_agent, $agent) !== FALSE) 1208 1208 { 1209 if ($type === 'browser' AND preg_match('|'.preg_quote($agent).'[^0-9.]*+([0-9.] +)|i', Kohana::$user_agent, $match))1209 if ($type === 'browser' AND preg_match('|'.preg_quote($agent).'[^0-9.]*+([0-9.][0-9.a-z]*)|i', Kohana::$user_agent, $match)) 1210 1210 { 1211 1211 // Set the browser version
