1
0
Fork 0

Merge pull request #2020 from nickolay-cure4you/master

Fix typo
pull/2022/head
Jordi Boggiano 2013-06-20 05:05:54 -07:00
commit c93aecee4d
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class Git
{ {
public function cleanEnv() public function cleanEnv()
{ {
if (ini_get('safe_mode') && false === strpos(ini_get('safe_mode_allowed_env_vars', 'GIT_ASKPASS'))) { if (ini_get('safe_mode') && false === strpos(ini_get('safe_mode_allowed_env_vars'), 'GIT_ASKPASS')) {
throw new \RuntimeException('safe_mode is enabled and safe_mode_allowed_env_vars does not contain GIT_ASKPASS, can not set env var. You can disable safe_mode with "-dsafe_mode=0" when running composer'); throw new \RuntimeException('safe_mode is enabled and safe_mode_allowed_env_vars does not contain GIT_ASKPASS, can not set env var. You can disable safe_mode with "-dsafe_mode=0" when running composer');
} }