Repository: airavata-php-gateway Updated Branches: refs/heads/master f35c10d8e -> d71391019
fixing hardcoded gateway id value 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/d7139101 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/d7139101 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/d7139101 Branch: refs/heads/master Commit: d71391019534bb4da47f33eeea237aaf0a1d6f4a Parents: f35c10d Author: scnakandala <[email protected]> Authored: Tue Oct 27 11:58:26 2015 -0400 Committer: scnakandala <[email protected]> Committed: Tue Oct 27 11:58:26 2015 -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/d7139101/app/libraries/ExperimentUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php index d35a269..26a5e45 100644 --- a/app/libraries/ExperimentUtilities.php +++ b/app/libraries/ExperimentUtilities.php @@ -179,7 +179,7 @@ class ExperimentUtilities $experiment->projectId = $_POST['project']; $experiment->userName = Session::get('username'); $experiment->name = $_POST['experiment-name']; - $experiment->gatewayId = "default"; + $experiment->gatewayId = Config::get('pga_config.airavata')['gateway-id']; $experiment->experimentName = $_POST['experiment-name']; // optional
