Authored by whb

release配置

1 <?php 1 <?php
2 class Util_Cache_Adapter_Memcached implements Util_Cache_Adapter_Interface { 2 class Util_Cache_Adapter_Memcached implements Util_Cache_Adapter_Interface {
3 - private $_domain = 'www.yoho.cn'; //域名 3 + private $_domain = 'www.dev.yoho.cn'; //域名
4 private $_class = 'default'; //分类 4 private $_class = 'default'; //分类
5 private $_prefix = ''; //前缀 5 private $_prefix = ''; //前缀
6 6
@@ -111,7 +111,7 @@ class Config_Defines @@ -111,7 +111,7 @@ class Config_Defines
111 // 静态资源目录 111 // 静态资源目录
112 define('SITE_RES', 'http://res.yohood.test.yoho.cn'); 112 define('SITE_RES', 'http://res.yohood.test.yoho.cn');
113 // 主站 113 // 主站
114 - define('SITE_MAIN', 'http://yohood.test.yoho.cn'); 114 + define('SITE_MAIN', 'http://yohood.dev.test.yoho.cn');
115 define('QINIU_UPLOAD_STATE', true); 115 define('QINIU_UPLOAD_STATE', true);
116 define('QINIU_UPLOAD_CLASS', 'Lib_Utils_QiniuUpload'); 116 define('QINIU_UPLOAD_CLASS', 'Lib_Utils_QiniuUpload');
117 define('QINIU_UPLOAD_ACCESSKEY', 'cY9B5ZgON_7McTS5zV5nTeRyQ98MOcVD7W4eGVbE'); 117 define('QINIU_UPLOAD_ACCESSKEY', 'cY9B5ZgON_7McTS5zV5nTeRyQ98MOcVD7W4eGVbE');
@@ -119,6 +119,8 @@ class Config_Defines @@ -119,6 +119,8 @@ class Config_Defines
119 define('SHOW_SITE_MAIN', 'http://show.test.yoho.cn/'); 119 define('SHOW_SITE_MAIN', 'http://show.test.yoho.cn/');
120 define('YOHOBUY_API','http://api.open.yohobuy.com/?'); 120 define('YOHOBUY_API','http://api.open.yohobuy.com/?');
121 define('SITE_PUBLISH_NEWS_SECRET', '123456'); 121 define('SITE_PUBLISH_NEWS_SECRET', '123456');
  122 + define('YOHO_WECHAT_APPID', 'wx984e31a227819392');
  123 + define('YOHO_WECHAT_APPSECRET', '');
122 self::setCache(false, false, false, false); 124 self::setCache(false, false, false, false);
123 } 125 }
124 126
@@ -141,6 +143,8 @@ class Config_Defines @@ -141,6 +143,8 @@ class Config_Defines
141 define('QINIU_UPLOAD_SECRETKEY', 'RduqgmK7cAtaQvdIa1ax_zzmMsnv9ac-Ka0uF6wG'); 143 define('QINIU_UPLOAD_SECRETKEY', 'RduqgmK7cAtaQvdIa1ax_zzmMsnv9ac-Ka0uF6wG');
142 define('YOHOBUY_API','http://api.open.yohobuy.com/?'); 144 define('YOHOBUY_API','http://api.open.yohobuy.com/?');
143 define('SITE_PUBLISH_NEWS_SECRET', 'yoho9646'); 145 define('SITE_PUBLISH_NEWS_SECRET', 'yoho9646');
  146 + define('YOHO_WECHAT_APPID', 'wx984e31a227819392');
  147 + define('YOHO_WECHAT_APPSECRET', '');
144 self::setCache(true, true, true, true); 148 self::setCache(true, true, true, true);
145 } 149 }
146 150
@@ -2,5 +2,5 @@ @@ -2,5 +2,5 @@
2 2
3 yohood.username = yohodb 3 yohood.username = yohodb
4 yohood.password = yohonj_9646_mysql 4 yohood.password = yohonj_9646_mysql
5 -yohood.writers = 123.56.138.21:3310  
6 -yohood.readers = 123.56.138.21:3310 5 +yohood.writers = 10.170.183.158:5510
  6 +yohood.readers = 10.170.183.158:5510