소스 검색

Update Http.php

walkor 7 년 전
부모
커밋
2397631556
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Protocols/Http.php

+ 2 - 2
Protocols/Http.php

@@ -437,7 +437,7 @@ class Http
         self::tryGcSessions();
 
         if (HttpCache::$instance->sessionStarted) {
-            echo "already sessionStarted\n";
+            Worker::safeEcho("already sessionStarted\n");
             return true;
         }
         HttpCache::$instance->sessionStarted = true;
@@ -503,7 +503,7 @@ class Http
             exit($msg);
         }
         if ($msg) {
-            echo $msg;
+            Worker::safeEcho($msg);
         }
         throw new \Exception('jump_exit');
     }