From 7149b67214ef928f9422a5cfa738faa2732032e9 Mon Sep 17 00:00:00 2001 From: Sebastiaan Stok Date: Sun, 29 Mar 2015 13:45:00 +0200 Subject: [PATCH] set PATH environment variable for Windows --- symfony | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/symfony b/symfony index 3450a60..2ace3f2 100755 --- a/symfony +++ b/symfony @@ -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());