_config.php 324 Bytes
Newer Older
Mark committed
1 2 3 4 5 6 7 8 9
<?php

return yii\helpers\ArrayHelper::merge(
	require(__DIR__ . '/../../config/main.php'),
	require(__DIR__ . '/../../config/main-local.php'),
	require(__DIR__ . '/../_config.php'),
	[
		'components' => [
			'db' => [
10
				'dsn' => 'mysql:host=localhost;dbname=yii2_advanced_unit',
Mark committed
11 12 13 14 15
			],
			'id' => 'app-common',
		],
	]
);