fix a bunch of lints

This commit is contained in:
Shish
2019-05-28 20:27:23 +01:00
parent 294f5845b1
commit 2396ae2ef9
34 changed files with 67 additions and 88 deletions

View File

@@ -216,7 +216,7 @@ function transload(string $url, string $mfile): ?array
$s_mfile = escapeshellarg($mfile);
system("wget --no-check-certificate $s_url --output-document=$s_mfile");
return file_exists($mfile);
return file_exists($mfile) ? ["ok"=>"true"] : null;
}
if ($config->get_string("transload_engine") === "fopen") {