walkor преди 10 години
родител
ревизия
ac7cae05e2
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      Workerman/Worker.php
  2. 1 1
      start.php

+ 1 - 1
Workerman/Worker.php

@@ -21,7 +21,7 @@ class Worker
      * 版本号
      * @var string
      */
-    const VERSION = '3.0.9';
+    const VERSION = '3.1.0';
     
     /**
      * 状态 启动中

+ 1 - 1
start.php

@@ -24,7 +24,7 @@ define('GLOBAL_START', 1);
 require_once __DIR__ . '/Workerman/Autoloader.php';
 
 // 加载所有Applications/*/start.php,以便启动所有服务
-foreach(glob(__DIR__.'/Applications/*/start.php') as $start_file)
+foreach(glob(__DIR__.'/Applications/*/start*.php') as $start_file)
 {
     require_once $start_file;
 }