Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'urlManager' => [
- 'enablePrettyUrl' => true,
- 'showScriptName' => false,
- 'rules' => [
- '/' => 'site/index',
- 'about' => 'site/about',
- 'contact' => 'site/contact',
- 'login' => 'site/login',
- 'entry' => 'site/entry',
- 'gii' => 'gii',
- 'country/page/<page:\d+>' => 'country/index',
- ],
- ],
- ],
- 'params' => $params,
- ];
- if (YII_ENV_DEV) {
- // configuration adjustments for 'dev' environment
- $config['bootstrap'][] = 'debug';
- $config['modules']['debug'] = [
- 'class' => 'yii\debug\Module',
- // uncomment the following to add your IP if you are not connecting from localhost.
- //'allowedIPs' => ['127.0.0.1', '::1'],
- ];
- $config['bootstrap'][] = 'gii';
- $config['modules']['gii'] = [
- 'class' => 'yii\gii\Module',
- // uncomment the following to add your IP if you are not connecting from localhost.
- //'allowedIPs' => ['127.0.0.1', '::1'],
- ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement