You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/03/25 21:49:10 UTC

[25/40] airavata-php-gateway git commit: fixing html issue

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/f6da0390
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/f6da0390
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/f6da0390

Branch: refs/heads/master
Commit: f6da0390214f9885dd92db06f94c4592ddd9f977
Parents: c6ce39f
Author: scnakandala <su...@gmail.com>
Authored: Wed Mar 23 18:01:25 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Wed Mar 23 18:01:25 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/f6da0390/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index bcd6e99..6f3e082 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -90,7 +90,7 @@ class ExperimentUtilities
                 $dataRoot = Config::get("pga_config.airavata")["experiment-data-absolute-path"];
                 if(!ExperimentUtilities::endsWith($dataRoot, "/"))
                     $dataRoot = $dataRoot . "/";
-                $filePath = str_replace($hostPathConstant . $dataRoot . Session::get('username'), "", $currentInputPath);
+                $filePath = str_replace($hostPathConstant . $dataRoot, "", $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
                 || $input->type == DataType::FLOAT) {