浏览代码

Allow Log rotation by making the redirection public

adrien 8 年之前
父节点
当前提交
1003fb4869
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Worker.php

+ 1 - 1
Worker.php

@@ -811,7 +811,7 @@ class Worker
      *
      * @throws Exception
      */
-    protected static function resetStd()
+    public static function resetStd()
     {
         if (!self::$daemonize) {
             return;