walkor 7 anni fa
parent
commit
2397631556
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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');
     }