1
0
www.mikescher.com/app/config/common.php

59 lines
1.4 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',
),
),
),
'db' => array(
'connectionString' => 'mysql:host=localhost;dbname=db451718',
'username' => 'root',
'password' => '',
'enableProfiling' => true,
'enableParamLogging' => true,
'charset' => 'utf8',
),
),
'params' => array(
// php configuration
'php.defaultCharset' => 'utf-8',
'php.timezone' => 'UTC',
'yii.handleErrors' => true,
'yii.debug' => true,
'yii.traceLevel' => 3,
)
);