main.php 303 Bytes
Newer Older
1 2 3 4 5 6 7 8
<?php
return array(
	'name' => 'My Web Application',

	'components' => array(
		// uncomment the following to use a MySQL database
		/*
		'db' => array(
Qiang Xue committed
9
			'class' => 'yii\db\Connection',
10 11 12 13 14 15 16
			'dsn' => 'mysql:host=localhost;dbname=testdrive',
			'username' => 'root',
			'password' => '',
		),
		*/
	),
);