array( 'gii' => array( 'class' => 'system.gii.GiiModule', 'password' => 'password', ), 'socialConnect' => array( 'callbackUrl' => 'site/callback', 'debug_mode' => true, 'debug_file' => 'socialconnect.log', 'providers' => array( 'facebook' => array( 'enabled' => true, 'keys' => array('id' => '', 'secret' => ''), 'scope' => 'email,publish_stream', ), 'twitter' => array( 'enabled' => true, 'keys' => array( 'key' => '0aBDNeQOFTPMxHb7TMjHlA', 'secret' => 'qjVCKdLjRngBUpGnbPw3NXRiIK1BdJWYCnHhZ4pClXk' ) ), 'linkedin' => array( 'enabled' => true, 'keys' => array('key' => '', 'secret' => '') ), ) ), ), // Application components 'components' => array( // Database 'db' => array( 'connectionString' => 'mysql:host=localhost;dbname=usuarios_dev', 'emulatePrepare' => true, 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'tablePrefix' => '', 'enableParamLogging' => true, ), 'mail' => array( 'class' => 'application.extensions.yii-mail.YiiMail', 'transportType' => 'smtp', 'transportOptions' => array( 'host' => 'mail.rodax-software.com', 'encryption' => '', 'username' => 'mantenimiento+rodax-software.com', 'password' => '34y96w6d', 'port' => 25, ), 'viewPath' => 'application.views.mails', ), 'socialConnect' => array( 'class' => 'application.extensions.yii-socialconnect.YiiSocialConnect', 'callbackUrl' => 'site/callback', 'debug_mode' => true, 'debug_file' => dirname(__FILE__) . '/../runtime/socialconnect.log', 'providers' => array( 'Facebook' => array( 'enabled' => true, 'keys' => array('id' => '', 'secret' => ''), 'scope' => 'email,publish_stream', ), 'Twitter' => array( 'enabled' => true, 'keys' => array( 'key' => '0aBDNeQOFTPMxHb7TMjHlA', 'secret' => 'qjVCKdLjRngBUpGnbPw3NXRiIK1BdJWYCnHhZ4pClXk' ) ), 'Linkedin' => array( 'enabled' => true, 'keys' => array('key' => '', 'secret' => '') ), ) ), // Application Log 'log' => array( 'class' => 'CLogRouter', 'routes' => array( // Save log messages on file array( 'class' => 'CFileLogRoute', 'levels' => 'error, warning, info', ), // Show log messages on web pages array( 'class' => 'CWebLogRoute', //'categories' => 'system.db.CDbCommand', 'levels' => 'error, warning, trace, info', 'showInFireBug' => true, ), ), ), ), // application-level parameters that can be accessed // using Yii::app()->params['paramName'] 'params' => array( 'frontpage' => 'http://localhost/index.php', 'email_remitente' => 'mantenimiento@rodax-software.com', ), ); ?>