main.php 303 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php
return array(
	'name' => 'My Web Application',

	'components' => array(
		// uncomment the following to use a MySQL database
		/*
		'db' => array(
			'class' => 'yii\db\Connection',
			'dsn' => 'mysql:host=localhost;dbname=testdrive',
			'username' => 'root',
			'password' => '',
		),
		*/
	),
);