Вход Регистрация
Файл: silawar.ru/protected/config/console.php
Строк: 40
<?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'),
    
'import' => require(dirname(__FILE__) . '/import.php'),
    
// application components
    
'components' => array(
        
'db' => array(
            
'connectionString' => 'mysql:host=localhost;dbname=new',
            
'emulatePrepare' => true,
            
'username' => 'mland_admin',
            
'password' => 'mlandhth5gh',
            
'charset' => 'utf8',
            
'tablePrefix' => '',
            
// включаем профайлер
            
'enableProfiling' => true,
            
// показываем значения параметров
            
'enableParamLogging' => true,
        ),
        
'log' => array(
            
'class' => 'CLogRouter',
            
'routes' => array(
                array(
                    
'class' => 'CFileLogRoute',
                    
'levels' => 'error, warning',
                ),
            ),
        ),
    ),
);
Онлайн: 0
Реклама