Hello.
Thank you for your post.
It seems like something is wrong with line User-Agent, as IE 11 is usually indetified as "Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv 11.0) like Gecko" and the message about the browser being outdated doesn't appear under IE 11.
Try to apply the following method:
Open protected\components\oldbrowsers\CheckBrowser.php
In method public static function isOld()
before
- Code: Select all
$browser = self::getBrowser();
insert
- Code: Select all
return false;
Or delete the following code from themes\atlas\views\layouts\main.php:
- Code: Select all
<?php if (CheckBrowser::isOld()) : ?>
<link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/oldbrowsers/check_browser.css" type="text/css" media="screen">
<?php
echo CheckBrowser::warning(null, true);
echo '</body></html>';
exit;
?>
<?php endif;?>