You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/07/17 12:13:05 UTC

[1/2] airavata-php-gateway git commit: fixing URL path issue

Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master dd8cb1173 -> 8a7330c20


fixing URL path issue


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

Branch: refs/heads/master
Commit: 4ef0b3343fd74d5061ce1ed025199c671f5d1d8c
Parents: 7115934
Author: scnakandala <su...@gmail.com>
Authored: Sun Jul 17 08:12:31 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sun Jul 17 08:12:31 2016 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/4ef0b334/app/libraries/ExperimentUtilities.php
----------------------------------------------------------------------
diff --git a/app/libraries/ExperimentUtilities.php b/app/libraries/ExperimentUtilities.php
index da58102..54d7bdc 100644
--- a/app/libraries/ExperimentUtilities.php
+++ b/app/libraries/ExperimentUtilities.php
@@ -604,6 +604,9 @@ class ExperimentUtilities
                     $parts = explode('/', rtrim($currentInputPath, '/'));
                     $fileName = array_pop($parts);
                     $newInputPath = ExperimentUtilities::$experimentPath . $fileName;
+                    if(parse_url($currentInputPath)){
+                        $currentInputPath = parse_url($currentInputPath, PHP_URL_PATH);
+                    }
                     copy($currentInputPath, $newInputPath);
 
                     $dataProductModel = new DataProductModel();


[2/2] airavata-php-gateway git commit: merge

Posted by sc...@apache.org.
merge


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

Branch: refs/heads/master
Commit: 8a7330c205d9e37bf8fbf9a062bdcf24d44d95c1
Parents: dd8cb11 4ef0b33
Author: scnakandala <su...@gmail.com>
Authored: Sun Jul 17 08:12:58 2016 -0400
Committer: scnakandala <su...@gmail.com>
Committed: Sun Jul 17 08:12:58 2016 -0400

----------------------------------------------------------------------
 app/libraries/ExperimentUtilities.php | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------