airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [23/40] airavata-php-gateway git commit: fixing html issue
Date Fri, 25 Mar 2016 20:49:08 GMT
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 <supun.nakandala@gmail.com>
Authored: Wed Mar 23 17:59:30 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
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


Mime
View raw message