Enable GII on the Server - Yii


/ Published in: PHP
Save to your folder(s)

If you want to enable GII in your live server in YII you can do by following small steps.


Copy this code and paste it in your HTML
  1. First goto protected/config/main.php
  2.  
  3. Find ipfilter in gii array,
  4.  
  5. replace ipfilter value with : 'ipFilters'=>array($_SERVER["REMOTE_ADDR"],'::1'),

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.