From 2b8743727a35397be5dbbc12a537562c0d85041d Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Sun, 19 Apr 2009 14:44:56 +0200 Subject: [PATCH] Fixed issue 198, error when trying to use git opertaions: Need SSH_ORIGINAL_COMMAND. --- scripts/gitserve.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gitserve.php b/scripts/gitserve.php index 5c5b588..8dffe1a 100644 --- a/scripts/gitserve.php +++ b/scripts/gitserve.php @@ -37,5 +37,5 @@ set_include_path(get_include_path() require 'Pluf.php'; Pluf::start(dirname(__FILE__).'/../src/IDF/conf/idf.php'); Pluf_Dispatcher::loadControllers(Pluf::f('idf_views')); -IDF_Plugin_SyncGit_Serve::main($argv, $_ENV); +IDF_Plugin_SyncGit_Serve::main($argv, array_merge($_SERVER, $_ENV));