| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 | 
							- <?php
 
- use KIF\Core\Request;
 
- $app_path = '/www/onepage/tm'; //eventpager 目录路径
 
- $cdn_host = 'op_cdn.5dev.cn'; //cdn域名配置
 
- $host = 'op_dever.5dev.cn';//平台域名
 
- $name = 'Dever活动平台';
 
- return array(
 
- 	'Namespace'	=> 'Cas',
 
- 	'App_Id'	=> 'http://'.$host.'/', //平台域名。!!!不同的平台需要有不同的域名
 
- 	'App_Path'	=> $app_path,
 
- 	'Lib_Path'	=> $app_path . DS . 'lib',
 
- 	'route_file'	=> $app_path . DS . 'config/route.inc.php',
 
- 	'memcached'	=> array(
 
- 		'default'	=> array(
 
- 			array('onepage-memcached', 11211, 1), //memcached 配置
 
- 		),
 
- 	),
 
- 	'db'		=> array( //主库配置
 
- 		'default'	=> 'mysqli://root:123456@web-mysql:3306/onepage_v1_dever?charset=utf8', //平台库
 
- 		'backend'	=> 'mysqli://root:123456@web-mysql: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'	=> '/www/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' => 'wx1bd1c3bfc6b0515e',
 
-         'appSecret' => '21f8ebe7b419a4920eb9b72532798523',
 
- 	),
 
- 	// passport签名key 已无用
 
- 	'passport_sign_key'	=> 'rD5carfCGbHAhF',
 
- 	# 不接入第三方
 
- 	'passport_url' => 'http://'.$host.'/?c=Login&a=Get' ,
 
- 	#接入第三方
 
- 	'passport_third_url' => 'http://'.$host.'/?c=Passport&a=Get' ,
 
- 	'passport' => array
 
- 	(
 
- 		'url' => 'http://203.187.186.136:40000/saywashnew/WashCallApi/api/user/thirdpartyAuthorize.api',
 
- 		'url' => 'https://www.saywash.com/saywash/WashCallApi/api/user/thirdpartyAuthorize.api',
 
- 		'param' => array
 
- 		(
 
- 			'authorizedCode' => 'fulishe',
 
- 			'tokenId' => '{passport_uid}',
 
- 		),
 
- 	),
 
- );
 
 
  |