airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [2/2] airavata-php-gateway git commit: fixing minor bug
Date Tue, 04 Apr 2017 20:07:47 GMT
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/master
Commit: 863534ba2d64b5b5cd21957ad577b108b6a1a45b
Parents: 026bb9d
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Tue Apr 4 16:04:05 2017 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
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 . ':&nbsp;<a target="_blank"
href="' . URL::to("/")


Mime
View raw message