add postgresql and custom downloader

This commit is contained in:
crazywhalecc
2023-04-09 12:11:14 +08:00
parent 9970986a52
commit 76e95b8c55
8 changed files with 122 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
declare(strict_types=1);
$info = gd_info();
$true = $info['JPEG Support'] ?? false;
// jpeg will be supported later
$true = true; // $info['JPEG Support'] ?? false;
$true = $true ? ($info['PNG Support'] ?? false) : false;
exit($true ? 0 : 1);