Commit eac67ae2 authored by Dominik Hebeler's avatar Dominik Hebeler

fixed syntax error

parent 98268677
...@@ -226,8 +226,8 @@ Route::group( ...@@ -226,8 +226,8 @@ Route::group(
$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($fh)) {
echo(fread($handle, 1024)); echo(fread($fh, 1024));
} }
}catch(\Exception $e){ }catch(\Exception $e){
abort(404); abort(404);
...@@ -243,8 +243,8 @@ Route::group( ...@@ -243,8 +243,8 @@ Route::group(
$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($fh)) {
echo(fread($handle, 1024)); echo(fread($fh, 1024));
} }
}catch(\Exception $e){ }catch(\Exception $e){
abort(404); abort(404);
......
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