Explorar el Código

remove argv extension check

may be start file not have .php extension
malacca hace 7 años
padre
commit
b4ea13b0eb
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  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;