1
0

Failed at adding gii

This commit is contained in:
2014-05-13 11:47:46 +02:00
parent 2f2ca4d5e4
commit 68c1e325f2
7 changed files with 25 additions and 51 deletions

View File

@@ -46,21 +46,11 @@ return ArrayX::merge(array(
'bootstrap-yii.css' => false
)
),
'urlManager' => array(
// uncomment the following if you have enabled Apache's Rewrite module.
'urlFormat' => 'path',
'showScriptName' => false,
'rules' => array(
// default rules
'<controller:\w+>/<id:\d+>' => '<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
'<controller:\w+>/<action:\w+>' => '<controller>/<action>',
),
),
'user' => array(
'allowAutoLogin' => true,
),
'errorHandler' => array(
'errorAction' => 'site/error',
)