Commit 98268677 authored by Dominik Hebeler's avatar Dominik Hebeler

fixed syntax error

parent 192dba47
...@@ -225,7 +225,7 @@ Route::group( ...@@ -225,7 +225,7 @@ Route::group(
return response()->streamDownload(function () { return response()->streamDownload(function () {
$fh = null; $fh = null;
try{ try{
$fh = fopen("https://gitlab.metager.de/open-source/app-en/raw/latest/app/release/app-release.apk?inline=false", "r") $fh = fopen("https://gitlab.metager.de/open-source/app-en/raw/latest/app/release/app-release.apk?inline=false", "r");
while (!feof($handle)) { while (!feof($handle)) {
echo(fread($handle, 1024)); echo(fread($handle, 1024));
} }
...@@ -242,7 +242,7 @@ Route::group( ...@@ -242,7 +242,7 @@ Route::group(
return response()->streamDownload(function () { return response()->streamDownload(function () {
$fh = null; $fh = null;
try{ try{
$fh = fopen("https://gitlab.metager.de/open-source/metager-maps-android/raw/latest/app/release/app-release.apk?inline=false", "r") $fh = fopen("https://gitlab.metager.de/open-source/metager-maps-android/raw/latest/app/release/app-release.apk?inline=false", "r");
while (!feof($handle)) { while (!feof($handle)) {
echo(fread($handle, 1024)); echo(fread($handle, 1024));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment