<?php

return array(
  'yiiDebug' => false,
  'yiiTraceLevel' => 0,

  'configWeb' => array(
    'components' => array(
      'db'=>array(
        'connectionString' => 'mysql:host=127.0.0.1;dbname=eventserverdb',
        'emulatePrepare' => true,
        'username' => 'kria',
        'password' => kria_load_secret('db'),
        'charset' => 'utf8',
        'tablePrefix' => '',
        'enableProfiling'=>false,
        'enableParamLogging'=>false,
      	'schemaCachingDuration' => 3600,
      ),
    'registration_db'=>array(
    	'connectionString' => 'mysql:host=31.14.140.159;dbname=eventserver_monitor',
    	'emulatePrepare' => true,
    	'username' => 'testuser',
    	'password' => kria_load_secret('registration_db'),
    	'charset' => 'utf8',
    	'tablePrefix' => '',
    	'enableProfiling'=>false,
    	'enableParamLogging'=>false,
    	'schemaCachingDuration' => 3600,
    		'class'            => 'CDbConnection'
    		),
    ),
    'params' => array(
      'photoBaseUrl' => '/kria-photos',
      'photoBasePath' => 'D:\mysql\data',
    ),
  ),
);
