You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/04/09 17:41:53 UTC

[11/12] airavata-php-gateway git commit: Bug Fix

Bug Fix


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

Branch: refs/heads/master
Commit: b59796680f63eff3663f747ac47cc567ce843a12
Parents: b356ffa
Author: Nipurn Doshi <ni...@gmail.com>
Authored: Tue Mar 24 15:04:31 2015 -0400
Committer: Suresh Marru <sm...@apache.org>
Committed: Thu Apr 9 11:41:34 2015 -0400

----------------------------------------------------------------------
 app/libraries/utilities.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/b5979668/app/libraries/utilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/utilities.php b/app/libraries/utilities.php
index 556f0e9..8368575 100644
--- a/app/libraries/utilities.php
+++ b/app/libraries/utilities.php
@@ -1828,7 +1828,7 @@ public static function list_output_files($experiment, $expStatus)
                 $outputPathArray = explode("/", $outputPath);
 
                 echo '<p>' . $output->name  . ' : ' . '<a target="_blank"
-                            href="' . str_replace(Utilities::$experimentDataPathAbsolute, Constant::EXPERIMENT_DATA_ROOT, $output->value) . '">' . 
+                            href="' . URL::to("/") . "/.." . str_replace(Utilities::$experimentDataPathAbsolute, Constant::EXPERIMENT_DATA_ROOT, $output->value) . '">' . 
                         $outputPathArray[ sizeof( $outputPathArray) - 1] . ' <span class="glyphicon glyphicon-new-window"></span></a></p>';
             }
             elseif ($output->type == DataType::STRING)