mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 09:27:25 +00:00
29 lines
622 B
PHP
29 lines
622 B
PHP
<?php
|
|
|
|
// This is the configuration for yiic console application.
|
|
// Any writable CConsoleApplication properties can be configured here.
|
|
return array(
|
|
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
|
|
'name'=>'My Console Application',
|
|
|
|
// preloading 'log' component
|
|
'preload'=>array('log'),
|
|
|
|
// application components
|
|
'components'=>array(
|
|
|
|
// database settings are configured in database.php
|
|
'db'=>require(dirname(__FILE__).'/database.php'),
|
|
|
|
'log'=>array(
|
|
'class'=>'CLogRouter',
|
|
'routes'=>array(
|
|
array(
|
|
'class'=>'CFileLogRoute',
|
|
'levels'=>'error, warning',
|
|
),
|
|
),
|
|
),
|
|
|
|
),
|
|
);
|