database.php 500 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php

return array(

	'fetch' => PDO::FETCH_CLASS,
	'default' => 'mongodb',

	'connections' => array(
		'mongodb' => array(
			'name'	   => 'mongodb',
			'driver'   => 'mongodb',
			'host'     => 'localhost',
			'database' => 'unittest',
		),
15 16 17 18 19 20 21 22 23 24 25

		'mysql' => array(
			'driver'    => 'mysql',
			'host'      => 'localhost',
			'database'  => 'unittest',
			'username'  => 'travis',
			'password'  => '',
			'charset'   => 'utf8',
			'collation' => 'utf8_unicode_ci',
			'prefix'    => '',
		),
26 27 28
	)

);