1
0
www.mikescher.com/app/config/common.php
2014-05-06 12:17:10 +02:00

46 lines
1.1 KiB
PHP

<?php
/**
*
* common.php configuration file
*
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @link http://www.ramirezcobos.com/
* @link http://www.2amigos.us/
* @copyright 2013 2amigOS! Consultation Group LLC
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
*/
return array(
'basePath' => realPath(__DIR__ . '/..'),
'preload' => array('log'),
'aliases' => array(
'vendor' => 'application.vendor'
),
'import' => array(
'application.controllers.*',
'application.extensions.components.*',
'application.extensions.behaviors.*',
'application.helpers.*',
'application.models.*',
'vendor.2amigos.yiistrap.helpers.*',
'vendor.2amigos.yiiwheels.helpers.*',
),
'components' => array(
'errorHandler' => array(
'errorAction' => 'site/error',
),
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
array(
'class' => 'CFileLogRoute',
'levels' => 'error, warning',
),
),
),
),
'params' => array(
// php configuration
'php.defaultCharset' => 'utf-8',
'php.timezone' => 'UTC',
)
);