소스 검색

Fixes #3088: The debug and gii modules will manage their own URL rules now

Qiang Xue 11 년 전
부모
커밋
cbedf7ad96
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      config/web.php

+ 2 - 0
config/web.php

@@ -41,6 +41,8 @@ if (YII_ENV_DEV) {
     // configuration adjustments for 'dev' environment
     $config['bootstrap'][] = 'debug';
     $config['modules']['debug'] = 'yii\debug\Module';
+
+    $config['bootstrap'][] = 'gii';
     $config['modules']['gii'] = 'yii\gii\Module';
 }