walkor 12 年之前
父节点
当前提交
89c96faf8f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bin/workermand

+ 1 - 1
bin/workermand

@@ -16,8 +16,8 @@ $cmd = $argv[1];
 define('WORKERMAN_ROOT_DIR', realpath(__DIR__."/../")."/");
 
 // ==pid-file==
-WORKERMAN\Core\Lib\Config::instance();
 require_once WORKERMAN_ROOT_DIR . 'Core/Lib/Config.php';
+WORKERMAN\Core\Lib\Config::instance();
 if(!($pid_file = WORKERMAN\Core\Lib\Config::get('workerman.pid_file')))
 {
     $pid_file = '/var/run/php-server.pid';