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

set PATH environment variable for Windows #125

Merged
merged 1 commit into from
Mar 29, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions symfony
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ require file_exists(__DIR__.'/vendor/autoload.php')

$appVersion = '1.0.3-DEV';

// Windows uses Path instead of PATH
if (!isset($_SERVER['PATH']) && isset($_SERVER['Path'])) {
$_SERVER['PATH'] = $_SERVER['Path'];
}

$app = new Symfony\Component\Console\Application('Symfony Installer', $appVersion);
$app->add(new Symfony\Installer\AboutCommand($appVersion));
$app->add(new Symfony\Installer\NewCommand());
Expand Down