dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'智铺子代理商管理系统', 'language'=>'zh_cn', 'timeZone'=>'Asia/Chongqing', // preloading 'log' component 'preload'=>array('log'), // autoloading model and component classes 'import'=>array( 'application.models.*', 'application.components.*', 'application.include.*', 'application.include.Lewaimai.*', 'application.lib.*', ), 'modules'=>array( // uncomment the following to enable the Gii tool 'gii'=>array( 'class'=>'system.gii.GiiModule', 'password'=>'hhyz122131', // If removed, Gii defaults to localhost only. Edit carefully to taste. 'ipFilters'=>array('127.0.0.1','::1'), ), ), // application components 'components'=>array( 'user'=>array( // enable cookie-based authentication 'allowAutoLogin'=>true, ), // uncomment the following to enable URLs in path-format // uncomment the following to enable URLs in path-format 'urlManager'=>array( 'urlFormat'=>'path', 'showScriptName' => false, 'urlSuffix' => '', 'rules'=>array( ''=>array('site/', 'urlSuffix'=>'.html', 'caseSensitive'=>false), 'help/'=>array('help/', 'urlSuffix'=>'.html', 'caseSensitive'=>false), '/'=>'/view', '//'=>'/', '/'=>'/' ), ), 'db'=>array( 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=agent', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'ag_', ), 'platformDb'=>array( 'class' => 'CDbConnection', 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=platform', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'pf_', ), 'cyDb'=>array( 'class' => 'CDbConnection', 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=weixin', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'wx_', ), 'lsDb'=>array( 'class' => 'CDbConnection', 'connectionString' => 'mysql:host=rm-bp1353x13u02kzess.mysql.rds.aliyuncs.com;dbname=lssystem', 'emulatePrepare' => true, 'username' => 'zhipuzi', 'password' => 'ZhipuziGX029319', 'charset' => 'utf8', 'tablePrefix' => 'wx_', ), 'errorHandler'=>array( // use 'site/error' action to display errors 'errorAction'=>'site/error', ), 'log'=>array( 'class'=>'CLogRouter', 'routes'=>array( array( 'class'=>'CFileLogRoute', 'levels'=>'info, error, warning', ), // uncomment the following to show log messages on web pages /* array( 'class'=>'CWebLogRoute', ), */ ), ), ), // application-level parameters that can be accessed // using Yii::app()->params['paramName'] 'params'=>array( // this is used in contact page 'adminEmail'=>'2106microtech@gmail.com', 'agnet_appid' => '84b19199fd221a78c491cd553cbb4ab7', 'agent_secret' => '#repast!@#AfAS#@!', 'sign_timeout' => 60, ), );