Blame view

common/config/main.php 446 Bytes
5fb8f6f6   Administrator   update rep
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <?php
  return [
      'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
      'components' => [
          'cache' => [
              'class' => 'yii\caching\FileCache',
          ],
          'urlManager' => [
              'enablePrettyUrl' => true,
              'showScriptName' => false,
              'rules' => [
                  'module/<module:\w+>/<controller:\w+>/<action:\w+>' => '<module>/<controller>/<action>',
              ]
          ],
      ],
  
  ];