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/77c41141 Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/77c41141 Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/77c41141 Branch: refs/heads/master Commit: 77c4114144c18f26bc95f23bc5ae38dd98f4f798 Parents: 69de925 Author: scnakandala <[email protected]> Authored: Wed Mar 23 17:59:30 2016 -0400 Committer: scnakandala <[email protected]> Committed: Wed Mar 23 17:59:30 2016 -0400 ---------------------------------------------------------------------- app/libraries/ExperimentUtilities.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/77c41141/app/libraries/ExperimentUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php index 41bb779..4a4c2b2 100644 --- a/app/libraries/ExperimentUtilities.php +++ b/app/libraries/ExperimentUtilities.php @@ -89,7 +89,8 @@ class ExperimentUtilities } $dataRoot = Config::get("pga_config.airavata")["experiment-data-absolute-path"]; if(!ExperimentUtilities::endsWith($dataRoot, "/")) - $dataRoot += "/"; + $dataRoot .= "/"; + echo $hostPathConstant . $dataRoot . Session::get('username'); $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
