add postgresql and custom downloader

This commit is contained in:
crazywhalecc 2023-04-09 12:12:32 +08:00
parent 76e95b8c55
commit a7d500422d
No known key found for this signature in database
GPG Key ID: 1F4BDD59391F2680

View File

@ -3,7 +3,6 @@
declare(strict_types=1);
$info = gd_info();
// jpeg will be supported later
$true = true; // $info['JPEG Support'] ?? false;
$true = $info['JPEG Support'] ?? true; // JPEG support needs libjpeg library, and I will add it later. TODO
$true = $true ? ($info['PNG Support'] ?? false) : false;
exit($true ? 0 : 1);