library no-ie
A module for blocking access to an application if the user agent is Internet Explorer.
aronkerr/no-ie
A module for blocking access to an application if the user agent is Internet Explorer.
- Monday, September 21, 2015
- by aronkerr
- Repository
- 0 Watchers
- 0 Stars
- 95 Installations
- HTML
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
NoIE
Introduction
A ZF2 module that keeps users from accessing an application if they are using Internet Explorer. If a user using Internet Explorer attempts to access the application a status code 406 will be returned and a custom 406 error template will be displayed. The message returned is designed to look like exactly like the normal IE errors and explains that IE doesn't properly support internet standards. The user is given to options to correct the error, go back or download Google Chrome., (*1)
Requirements
Features / Goals
- Keep users who use Internet Explorer for accessing the application [COMPLETE]
Installation
Main Setup
By cloning project
- Clone this project into your
./vendor/
directory.
With composer
-
Add this project in your composer.json:, (*2)
"require": {
"aronkerr/no-ie": "dev-master"
}
-
Now tell composer to download NoIE by running the command:, (*3)
$ php composer.phar update
Post Installation
- Move the files contained in this projects public directory to your
./public
directory.
-
Enable the module in your applicatiion.config.php
file., (*4)
<?php
return array(
'modules' => array(
// ...
'NoIE'
),
// ...
);