Skip to content

Commit ddff7a8

Browse files
1 parent 2e3cd22 commit ddff7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Gitonomy/Git/Repository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function __construct($dir, $options = array())
118118
'working_dir' => null,
119119
'debug' => true,
120120
'logger' => null,
121-
'environment_variables' => $is_windows ? array('PATH' => $_SERVER['PATH']) : array(),
121+
'environment_variables' => $is_windows ? array('PATH' => getenv('path')) : array(),
122122
'command' => 'git',
123123
'process_timeout' => 3600,
124124
), $options);

0 commit comments

Comments
 (0)