Repository: airavata-php-gateway Updated Branches: refs/heads/develop f421e1e06 -> 8251cbcc6
fixing file not download 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/8251cbcc Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/8251cbcc Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/8251cbcc Branch: refs/heads/develop Commit: 8251cbcc6002188f92f4de3f1f8bc9fa58758904 Parents: f421e1e Author: scnakandala <[email protected]> Authored: Tue Sep 27 14:00:17 2016 -0400 Committer: scnakandala <[email protected]> Committed: Tue Sep 27 14:00:17 2016 -0400 ---------------------------------------------------------------------- app/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/8251cbcc/app/routes.php ---------------------------------------------------------------------- diff --git a/app/routes.php b/app/routes.php index e26eadf..b2a8810 100755 --- a/app/routes.php +++ b/app/routes.php @@ -136,7 +136,7 @@ Route::get("download", function(){ //TODO check permission $path = str_replace($dataRoot, "", parse_url($currentOutputPath, PHP_URL_PATH)); - $downloadLink = Config::get('pga_config.airavata')['experiment-data-absolute-path'] . '/' . $path; + $downloadLink = URL::to('/') . Config::get('pga_config.airavata')['experiment-data-absolute-path'] . '/' . $path; return Response::download( $downloadLink); } });
