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

@@ -28,6 +28,7 @@ return array(
'errorHandler' => array(
'errorAction' => 'site/error',
),
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
@@ -46,7 +47,22 @@ return array(
'enableParamLogging' => true,
'charset' => 'utf8',
),
'urlManager' => array(
// uncomment the following if you have enabled Apache's Rewrite module.
'urlFormat' => 'path',
//'caseSensitive' => true,
'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>',
),
),
),
'params' => array(
// php configuration
'php.defaultCharset' => 'utf-8',