Authored by whb

修改配置

... ... @@ -121,7 +121,7 @@ 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');
self::setCache(true, false, true, true);
self::setCache(true, true, true, true);
}
/**
... ... @@ -145,7 +145,7 @@ class Config_Defines
define('SITE_PUBLISH_NEWS_SECRET', 'yoho9646');
define('YOHO_WECHAT_APPID', 'wx984e31a227819392');
define('YOHO_WECHAT_APPSECRET', '');
self::setCache(true, true, true, true);
self::setCache(true, true, false, true);
}
}
... ...
[memcache]
servers = 127.0.0.1:11212
[redis-master]
servers = 192.168.0.39:6379
[redis-slave-192.168.0.39-6379]
[memcache]
servers = 192.168.102.161:11213
[redis-master]
servers = 192.168.0.39:6379
[redis-slave-192.168.0.39-6379]
servers = 192.168.0.39:6380
\ No newline at end of file
... ...
[mysql]
yohood.username = yohodb
yohood.password = yohonj_9646_mysql
yohood.writers = 123.56.138.21:3310
yohood.readers = 123.56.138.21:3310
yohood.writers = 127.0.0.1:3310
yohood.readers = 127.0.0.1:3310
... ...