Browse Source

Add default browser when there's a not identified http agent.

pull/16/head
Adrien Dorsaz 12 years ago
parent
commit
48bb7fc6d5
  1. 3
      bootstrap.php

3
bootstrap.php

@ -174,6 +174,9 @@ class Bootstrap {
} elseif(preg_match('|Safari/([0-9\.]+)|',$useragent,$matched)) {
$browser_version=$matched[1];
$browser = 'Safari';
} else {
$browser_version = 0;
$browser = 'other';
}
} else {
$browser_version = 0;

Loading…
Cancel
Save