mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 16:55:38 +08:00
add postgresql and custom downloader
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user