소스 검색

[Process] made default options overridable

Fabien Potencier 14 년 전
부모
커밋
41a1a75b92
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/Process/Process.php

+ 1 - 1
src/Symfony/Component/Process/Process.php

@@ -60,7 +60,7 @@ class Process
         }
         $this->stdin = $stdin;
         $this->timeout = $timeout;
-        $this->options = array_merge($options, array('suppress_errors' => true, 'binary_pipes' => true, 'bypass_shell' => true));
+        $this->options = array_merge(array('suppress_errors' => true, 'binary_pipes' => true, 'bypass_shell' => true), $options);
     }
 
     /**