Blame view

console/config/main.php 867 Bytes
4253cbec   root   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  <?php

  $params = array_merge(

      require(__DIR__ . '/../../common/config/params.php'),

      require(__DIR__ . '/../../common/config/params-local.php'),

      require(__DIR__ . '/params.php'),

      require(__DIR__ . '/params-local.php')

  );

  

  return [

      'id' => 'app-console',

      'basePath' => dirname(__DIR__),

      'bootstrap' => ['log'],

      'controllerNamespace' => 'console\controllers',

      'components' => [

e6357e22   Administrator   big commti
15
16
17
18
19
20
          'urlManager'   => [

              'baseUrl' => 'http://www.linija-svitla.ua',

              'enablePrettyUrl' => true,

              'showScriptName'  => false,

  

          ],

4253cbec   root   first commit
21
22
23
24
25
26
27
28
29
30
31
          'log' => [

              'targets' => [

                  [

                      'class' => 'yii\log\FileTarget',

                      'levels' => ['error', 'warning'],

                  ],

              ],

          ],

      ],

      'params' => $params,

  ];