Authored by whb

release配置

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