Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Commit cd92205

Browse files
committed
bug #125 set PATH environment variable for Windows (sstok)
This PR was merged into the 1.0-dev branch. Discussion ---------- set PATH environment variable for Windows Windows uses Path instead of PATH which causes a notice for the about and download command. Commits ------- 7149b67 set PATH environment variable for Windows
2 parents 4b32de5 + 7149b67 commit cd92205

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

symfony

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ require file_exists(__DIR__.'/vendor/autoload.php')
2020

2121
$appVersion = '1.0.3-DEV';
2222

23+
// Windows uses Path instead of PATH
24+
if (!isset($_SERVER['PATH']) && isset($_SERVER['Path'])) {
25+
$_SERVER['PATH'] = $_SERVER['Path'];
26+
}
27+
2328
$app = new Symfony\Component\Console\Application('Symfony Installer', $appVersion);
2429
$app->add(new Symfony\Installer\AboutCommand($appVersion));
2530
$app->add(new Symfony\Installer\NewCommand());

0 commit comments

Comments
 (0)