| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 | <?phpuse KIF\Core\Request;$app_path = '/www/onepage/tm'; //eventpager 目录路径$cdn_host = 'opcdn.sg.com.cn'; //cdn域名配置$name = 'OnePage V1.0';return array(	'Namespace'	=> 'Cas',	'App_Id'	=> 'http://onepage.sg.com.cn/', //平台域名。!!!不同的平台需要有不同的域名	'App_Path'	=> $app_path,	'Lib_Path'	=> $app_path . DS . 'lib',	'route_file'	=> $app_path . DS . 'config/route.inc.php',	'memcached'	=> array(		'default'	=> array(			array('192.168.12.6', 11211, 1), //memcached 配置		),	),	'db'		=> array( //主库配置		'default'	=> 'mysqli://root:Pwd0fMy5ql_55@192.168.12.4:3306/onepage_v1_sg?charset=utf8', //平台库		'backend'	=> 'mysqli://root:Pwd0fMy5ql_55@192.168.12.4:3306/onepage_v1?charset=utf8', //公共的后台用户库	),	'dbslaves'	=> array( //从库配置 (可以不填写)		array(	        'master'    => '192.168.12.4:3306',	        'mixed'     => array(	            array(	                'host'  => '192.168.12.4',	                'user'  => 'root',	                'pass'  => 'Pwd0fMy5ql_55',	            ),  	        ),  	    ),	),	'smarty'	=> array(		'template_dir'	=> $app_path . DS . 'template_dir',		'compile_dir'	=> $app_path . DS . 'compile_dir',		'tpl_type'		=> 'html',	),	'upload'	=> array( //上传静态文件目录		'path'	=> '/data/web/onepage/kissy/public/upload', //路径		'url'	=> "http://{$cdn_host}/public/upload", //链接前缀	),	'Log_Path' =>  $app_path .DS.'log',	'web_cfg'	=> array(		'domain'	=> Request::schemeDomain(),		'url'		=> Request::url(),		'cdn'	=> "http://{$cdn_host}",		'name' 	=> $name,	),	// 微信开发者ID	'wechat_cfg'	=> array(		'appId'	=> 'wxc80e1368d4f27094',		'appSecret'	=> '0dc5ab606ce9c249e80ccc7760d05178',	),	// passport签名key	'passport_sign_key'	=> 'rD5carfCGbHAhF',	'passport_url' => 'http://passport.sg.com.cn/auth.info?' ,);
 |