fixing minor bug
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/863534ba Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/863534ba Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/863534ba Branch: refs/heads/dreg-gateway Commit: 863534ba2d64b5b5cd21957ad577b108b6a1a45b Parents: 026bb9d Author: scnakandala <[email protected]> Authored: Tue Apr 4 16:04:05 2017 -0400 Committer: scnakandala <[email protected]> Committed: Tue Apr 4 16:04:05 2017 -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/863534ba/app/libraries/ExperimentUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php index 81f44f8..2202218 100755 --- a/app/libraries/ExperimentUtilities.php +++ b/app/libraries/ExperimentUtilities.php @@ -921,7 +921,7 @@ class ExperimentUtilities break; } } - $path = parse_url($currentOutputPath); + $path = parse_url($currentOutputPath)['path']; if(file_exists($path)){ $fileName = basename($currentOutputPath); echo '<p>' . $output->name . ': <a target="_blank" href="' . URL::to("/")
