Skip to content

Commit

Permalink
Revert back to redirecting users with IE8 or IE7 to upgrade browser page
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafik Robeal committed Feb 10, 2014
1 parent 4ad8609 commit 2d26754
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion browser_check.php
Expand Up @@ -90,7 +90,7 @@ function is_unsupported_browser()
{
$ua = getBrowser();
if ( 'Internet Explorer' == $ua['name'] &&
( '6.0' == $ua['version'] ) ) {
( '8.0' == $ua['version'] || '7.0' == $ua['version'] || '6.0' == $ua['version'] ) ) {

return true;
}
Expand Down
12 changes: 12 additions & 0 deletions upgrade_browser.php
Expand Up @@ -80,6 +80,18 @@

</div>

<!-- Google Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-330112-2', 'mantisbt.org');
ga('send', 'pageview');
</script>
<!-- End of Google Analytics -->


</body>
</html>

0 comments on commit 2d26754

Please sign in to comment.