* @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', ), 'urlManager' => array( // uncomment the following if you have enabled Apache's Rewrite module. 'urlFormat' => 'path', //'caseSensitive' => true, 'showScriptName' => false, 'rules' => array( // default rules '/' => '/view', '//' => '/', '/' => '/', ), ), ), 'params' => array( // php configuration 'php.defaultCharset' => 'utf-8', 'php.timezone' => 'UTC', 'yii.handleErrors' => true, 'yii.debug' => true, 'yii.traceLevel' => 3, ) );