Upload beautify
This commit is contained in:
10
scripts/check_intervention.php
Normal file
10
scripts/check_intervention.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
try {
|
||||
$manager = extension_loaded('gd') ? \Intervention\Image\ImageManager::gd() : \Intervention\Image\ImageManager::imagick();
|
||||
echo 'configured: ' . (extension_loaded('gd') ? 'gd' : 'imagick') . PHP_EOL;
|
||||
} catch (\Throwable $e) {
|
||||
echo 'error: ' . $e->getMessage() . PHP_EOL;
|
||||
}
|
||||
Reference in New Issue
Block a user