Browse Source

remove argv extension check

may be start file not have .php extension
malacca 7 years ago
parent
commit
b4ea13b0eb
1 changed files with 0 additions and 5 deletions
  1. 0 5
      Worker.php

+ 0 - 5
Worker.php

@@ -1211,11 +1211,6 @@ class Worker
         $files = array();
         foreach($argv as $file)
         {
-            $ext = pathinfo($file, PATHINFO_EXTENSION );
-            if($ext !== 'php')
-            {
-                continue;
-            }
             if(is_file($file))
             {
                 $files[$file] = $file;