<?php

return CMap::mergeArray(
    require_once(dirname(__FILE__) . '/main.php'), array(
        'preload' => array('log'),
        'components' => array(
            'db' => array(
                'connectionString' => 'mysql:host=localhost;dbname=game',
                'emulatePrepare' => true,
                'username' => 'user',
                'password' => '3CzEDAPXo9K3dw0eSHK0',
                'charset' => 'utf8',
                'tablePrefix' => '',
                'schemaCachingDuration' => 10800
            ),
            'log'=>array(
                'class'=>'CLogRouter',
                'routes'=>array(
                    array(
                        'class'=>'CFileLogRoute',
                        'levels'=>'error, warning, info',
                    ),
                ),
            ),
        ),
    )
);
