main.php 537 Bytes
Newer Older
1
<?php
2 3 4 5 6 7 8
$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')
);

9
return [
Qiang Xue committed
10
	'id' => 'app-console',
11
	'basePath' => dirname(__DIR__),
12
	'controllerNamespace' => 'console\controllers',
13
	'modules' => [],
14 15 16 17
	'components' => [
		'log' => [
			'targets' => [
				[
Qiang Xue committed
18
					'class' => 'yii\log\FileTarget',
19 20 21 22 23
					'levels' => ['error', 'warning'],
				],
			],
		],
	],
24
	'params' => $params,
25
];