Blame view

common/config/main.php 647 Bytes
b41d5459   Yarik   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  <?php
  return [
      'timeZone' => 'Europe/Kiev',
      'language' => 'ru-RU',
      'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
      'components' => [
          'i18n' => [
              'translations' => [
                  'frontend' => [
                      'class' => 'yii\i18n\PhpMessageSource',
                      'basePath' => '@frontend/messages',
                      'sourceLanguage' => 'en-US',
                      'fileMap' => [
                          'app'       => 'app.php'
                      ],
                  ],
              ],
          ],
          'cache' => [
              'class' => 'yii\caching\FileCache',
          ],
      ],
  ];