a63b5418
Administrator
first_commit
|
1
|
<?php
|
ea4ecf3d
Mihail
console csv parsing
|
2
|
$mp_configuration = require( __DIR__ . '/../components/parsers/config.php');
|
a63b5418
Administrator
first_commit
|
3
|
return [
|
4828b892
Mihail
after merge with ...
|
4
|
'language' => 'ru-RU',
|
a63b5418
Administrator
first_commit
|
5
6
7
8
9
|
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
'components' => [
'cache' => [
'class' => 'yii\caching\FileCache',
],
|
2509e17e
Administrator
JSON
|
10
11
12
13
14
15
16
|
'urlManager' => [
'enablePrettyUrl' => true,
'showScriptName' => false,
'rules' => [
'module/<module:\w+>/<controller:\w+>/<action:\w+>' => '<module>/<controller>/<action>',
]
],
|
ea4ecf3d
Mihail
console csv parsing
|
17
18
19
20
21
22
23
24
25
|
'multiparser'=>[
'class' => 'yii\multiparser\YiiMultiparser',
'configuration' => $mp_configuration,
'as behavior' => [
'class' => 'backend\components\parsers\CustomConverter',
],
],
|
a63b5418
Administrator
first_commit
|
26
|
],
|
a63b5418
Administrator
first_commit
|
27
|
|
2509e17e
Administrator
JSON
|
28
|
];
|