1
0
Fork 0

Fix #8298 for COMPOSER_DEV_MODE

pull/8962/head
Jordi Boggiano 2020-06-05 16:01:39 +02:00
parent 81c6fe987b
commit 6630519882
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class Installer
}
if ($this->runScripts) {
$_SERVER['COMPOSER_DEV_MODE'] = (int) $this->devMode;
$_SERVER['COMPOSER_DEV_MODE'] = $this->devMode ? '1' : '0';
putenv('COMPOSER_DEV_MODE='.$_SERVER['COMPOSER_DEV_MODE']);
// dispatch pre event