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:51 UTC
[09/12] airavata-php-gateway git commit: Path Changes for Exp Data
Folder
Path Changes for Exp Data Folder
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/b356ffa4
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/b356ffa4
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/b356ffa4
Branch: refs/heads/master
Commit: b356ffa4b77a4ed2cbf365f0cfd437f63dfe287b
Parents: f1b3474
Author: Nipurn Doshi <ni...@gmail.com>
Authored: Tue Mar 24 14:50:59 2015 -0400
Committer: Suresh Marru <sm...@apache.org>
Committed: Thu Apr 9 11:41:34 2015 -0400
----------------------------------------------------------------------
app/libraries/utilities.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/b356ffa4/app/libraries/utilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/utilities.php b/app/libraries/utilities.php
index e32da17..556f0e9 100644
--- a/app/libraries/utilities.php
+++ b/app/libraries/utilities.php
@@ -1828,8 +1828,8 @@ public static function list_output_files($experiment, $expStatus)
$outputPathArray = explode("/", $outputPath);
echo '<p>' . $output->name . ' : ' . '<a target="_blank"
- href="' . URL::to("/") . "/.." . Constant::EXPERIMENT_DATA_ROOT . $explode[sizeof($explode)-2] . '/' . $explode[sizeof($explode)-1] . '">' .
- $explode[sizeof($explode)-1] . ' <span class="glyphicon glyphicon-new-window"></span></a></p>';
+ href="' . 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)
{