1

Need help! How can I go to CRUD generator in yii?

I just created my application but when I try entering localhost/myapp/index.php?r=gii it says that "Unable to resolve the request gii"

Anyone? PLease help me. THanks a lot!

PHP Noob
  • 79
  • 6

1 Answers1

1

Go to config->main.php and uncomment to gii.

'modules'=>array(
         'gii'=>array(
             'class'=>'system.gii.GiiModule',
              'password'=>'Enter your password here',
              'ipFilters'=>array($_SERVER['REMOTE_ADDR']),
        ),
    ),
Deepak saini
  • 4,100
  • 2
  • 17
  • 20