walkor 11 년 전
부모
커밋
5776324e1e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      workerman/bin/workermand

+ 1 - 1
workerman/bin/workermand

@@ -17,7 +17,7 @@ define('WORKERMAN_ROOT_DIR', realpath(__DIR__."/../")."/");
 
 chdir(WORKERMAN_ROOT_DIR);
 
-if(0 === strpos('win', strtolower(PHP_OS)))
+if(0 === strpos(strtolower(PHP_OS), 'win'))
 {
     exit("Workerman can not run on Windows operating system\n");
 }