Repository: airavata-php-gateway Updated Branches: refs/heads/develop 77c411414 -> c6ce39f91
fixing html issue 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/c6ce39f9 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/c6ce39f9 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/c6ce39f9 Branch: refs/heads/develop Commit: c6ce39f919761f86ad398e043204c7df9fc84481 Parents: 77c4114 Author: scnakandala <[email protected]> Authored: Wed Mar 23 18:00:30 2016 -0400 Committer: scnakandala <[email protected]> Committed: Wed Mar 23 18:00:30 2016 -0400 ---------------------------------------------------------------------- app/libraries/ExperimentUtilities.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/c6ce39f9/app/libraries/ExperimentUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php index 4a4c2b2..bcd6e99 100644 --- a/app/libraries/ExperimentUtilities.php +++ b/app/libraries/ExperimentUtilities.php @@ -89,8 +89,7 @@ class ExperimentUtilities } $dataRoot = Config::get("pga_config.airavata")["experiment-data-absolute-path"]; if(!ExperimentUtilities::endsWith($dataRoot, "/")) - $dataRoot .= "/"; - echo $hostPathConstant . $dataRoot . Session::get('username'); + $dataRoot = $dataRoot . "/"; $filePath = str_replace($hostPathConstant . $dataRoot . Session::get('username'), "", $currentInputPath); echo '<p><a target="_blank" href="' . URL::to("/") . '/download/?path=' . $filePath . '">' . basename($filePath) . ' <span class="glyphicon glyphicon-new-window"></span></a></p>'; } elseif ($input->type == DataType::STRING || $input->type == DataType::INTEGER
