A simple yii extension that allows you to prevent access to the application except for specified IP addresses.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README
UnderConstruction.php

README

Requirements 
...requirements of using this extension (e.g. Yii 1.1 or above)...
Usage 
...how to use this extension...
	1.	Upload file UnderConstruction.php to components directory
	2.	Load Component in main.php
// preloading 'log' component
'preload'=>array('log','UnderConstruction'),
...
	1.	Configure Component
'components'=>array(
...
'UnderConstruction' => array(
            'class' => 'application.components.UnderConstruction',
            'allowedIPs'=>array('192.168.1.1','192.168.1.2'), //whatever IPs you want to allow
        'locked'=>true,//this is the on off switch
            'redirectURL'=>'http://www.yiiframework.com',//put in your desired redirect page.           
       ),
...),