
diff --git a/Gameserver/globals.php b/Gameserver/globals.php
index 63b43b86..a785d647 100644
--- a/Gameserver/globals.php
+++ b/Gameserver/globals.php
@@ -19,7 +19,7 @@ define("PLAT", 'and');  # and, ios, web
 /**
  * 游戏是否上线
  */
-define("GAME_ONLINE", false);
+define("GAME_ONLINE", true);
 
 /**
  * 控制debug黑框调试输出
-- 


diff --git a/Gameserver/Amfphp/util/CRedisUtil.php b/Gameserver/Amfphp/util/CRedisUtil.php
index 6ceb1794..d1f7ba15 100644
--- a/Gameserver/Amfphp/util/CRedisUtil.php
+++ b/Gameserver/Amfphp/util/CRedisUtil.php
@@ -164,7 +164,7 @@ class CRedisUtil {
      * @param string $db 数据库, 不建议输入参数, 如果是购买云实例只有一个db.
      * @return \CRedisUtil
      */
-    public function conn($host, $port, $pwd = "", $db = 0) {
+    public function conn($host, $port, $pwd = "", $db = 1) {
 //        DebugHelper::print_stack_trace();
         $this->redis = new \Predis\Client(array(
             'scheme' => 'tcp',
-- 


