airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject [11/12] airavata-php-gateway git commit: Bug Fix
Date Thu, 09 Apr 2015 15:41:53 GMT
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 <nipunhere@gmail.com>
Authored: Tue Mar 24 15:04:31 2015 -0400
Committer: Suresh Marru <smarru@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)


Mime
View raw message