airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: fixing html issue
Date Wed, 23 Mar 2016 22:01:28 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop c6ce39f91 -> f6da03902


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/develop
Commit: f6da0390214f9885dd92db06f94c4592ddd9f977
Parents: c6ce39f
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Wed Mar 23 18:01:25 2016 -0400
Committer: scnakandala <supun.nakandala@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) {


Mime
View raw message