Skip to content

Commit

Permalink
switched superglobals (see #154)
Browse files Browse the repository at this point in the history
  • Loading branch information
kriswallsmith committed Jan 20, 2012
1 parent 4055b91 commit 56cae67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Assetic/Util/ProcessBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function getProcess()
} else {
$script = implode(' ', array_map('escapeshellarg', $this->arguments));
}
$env = $this->inheritEnv && $_ENV ? ($this->env ?: array()) + $_ENV : $this->env;
$env = $this->inheritEnv && $_SERVER ? ($this->env ?: array()) + $_SERVER : $this->env;

return new Process($script, $this->cwd, $env, $this->stdin, $this->timeout, $options);
}
Expand Down

0 comments on commit 56cae67

Please sign in to comment.