Blame view

common/config/main.php 788 Bytes
1755c393   Yarik   Basic template in...
1
  <?php
8596ef4b   Alexey Boroda   -Seo component ready
2
3
      use artbox\core\components\SeoComponent;
      
6966d71b   Yarik   Makeup
4
5
6
7
8
9
10
11
12
13
      return [
          'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
          'components' => [
              'cache'  => [
                  'class' => 'yii\caching\FileCache',
              ],
              'i18n'   => [
                  'translations' => [
                      'core' => [
                          'class'    => 'yii\i18n\PhpMessageSource',
9576f402   Yarik   Namespaces and al...
14
                          'basePath' => '@artbox/core/messages',
6966d71b   Yarik   Makeup
15
                      ],
b313037a   Alexey Boroda   -Flesh widget ready
16
17
                  ],
              ],
6966d71b   Yarik   Makeup
18
19
20
21
              'filedb' => [
                  'class' => 'yii2tech\filedb\Connection',
                  'path'  => '@common/config',
              ],
8596ef4b   Alexey Boroda   -Seo component ready
22
23
24
              'seo'    => [
                  'class' => SeoComponent::className(),
              ],
b313037a   Alexey Boroda   -Flesh widget ready
25
          ],
6966d71b   Yarik   Makeup
26
      ];