airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [1/2] airavata-php-gateway git commit: fixing exp path issue
Date Tue, 03 Nov 2015 17:02:50 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/master afe8fb461 -> ff17e7afe


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

Branch: refs/heads/master
Commit: 72ce64a18cddc8d03d940908f17b83b73d04cbb0
Parents: db2d806
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Tue Nov 3 12:00:51 2015 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Tue Nov 3 12:00:51 2015 -0500

----------------------------------------------------------------------
 app/routes.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/72ce64a1/app/routes.php
----------------------------------------------------------------------
diff --git a/app/routes.php b/app/routes.php
index b43a9f5..0878889 100755
--- a/app/routes.php
+++ b/app/routes.php
@@ -89,7 +89,7 @@ Route::get("experiment/browse", "ExperimentController@browseView");
 Route::post("experiment/browse", "ExperimentController@browseView");
 
 Route::get("download/{exp_folder}/{exp_file}", function( $exp_folder, $exp_file){
-    $downloadLink = URL::to('/') . '/..' . Config::get('pga_config.airavata')['experiment-data-dir']
. '/' . $exp_folder . '/' . $exp_file;
+    $downloadLink = Config::get('pga_config.airavata')['experiment-data-absolute-path'] .
'/' . $exp_folder . '/' . $exp_file;
     return Response::download( $downloadLink);
 });
 /*


Mime
View raw message