Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0776018BC6 for ; Thu, 17 Mar 2016 16:38:37 +0000 (UTC) Received: (qmail 34648 invoked by uid 500); 17 Mar 2016 16:38:37 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 34596 invoked by uid 500); 17 Mar 2016 16:38:36 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 34547 invoked by uid 99); 17 Mar 2016 16:38:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2016 16:38:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A1E9CDFA44; Thu, 17 Mar 2016 16:38:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: scnakandala@apache.org To: commits@airavata.apache.org Date: Thu, 17 Mar 2016 16:38:36 -0000 Message-Id: <40fc96a75037481d8d7788937e95e2f6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [01/11] airavata-php-gateway git commit: fixing AIRAVATA-1916 Repository: airavata-php-gateway Updated Branches: refs/heads/master b598d4b46 -> 6291b3950 fixing AIRAVATA-1916 Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/44539fc8 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/44539fc8 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/44539fc8 Branch: refs/heads/master Commit: 44539fc8e0b67eb185c350028a95005b483c5452 Parents: b598d4b Author: scnakandala Authored: Wed Mar 16 15:13:37 2016 -0400 Committer: scnakandala Committed: Wed Mar 16 15:13:37 2016 -0400 ---------------------------------------------------------------------- app/libraries/ExperimentUtilities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/44539fc8/app/libraries/ExperimentUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php index 0831fba..b3c4b8c 100644 --- a/app/libraries/ExperimentUtilities.php +++ b/app/libraries/ExperimentUtilities.php @@ -446,7 +446,7 @@ class ExperimentUtilities foreach ($experimentInputs as $experimentInput) { if ($experimentInput->type == DataType::URI) { $currentInputPath = $experimentInput->value; - $hostPathConstant = 'file://' . Config::get('pga_config.airavata')['ssh-user'] . '@' . $hostName . ':'; + $hostPathConstant = 'file://' . $hostName . ':'; $currentInputPath = str_replace($hostPathConstant, '', $currentInputPath); $parts = explode('/', rtrim($currentInputPath, '/')); $fileName = array_pop($parts);