2020-08-04 11:25:22 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Config;
|
2020-05-27 18:46:16 +02:00
|
|
|
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
|
|
|
|
class Images extends BaseConfig
|
|
|
|
{
|
2020-06-10 15:00:12 +00:00
|
|
|
/**
|
|
|
|
* Default handler used if no other handler is specified.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $defaultHandler = 'gd';
|
2020-05-27 18:46:16 +02:00
|
|
|
|
2020-06-10 15:00:12 +00:00
|
|
|
/**
|
|
|
|
* The path to the image library.
|
|
|
|
* Required for ImageMagick, GraphicsMagick, or NetPBM.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
public $libraryPath = '/usr/local/bin/convert';
|
2020-05-27 18:46:16 +02:00
|
|
|
|
2020-06-10 15:00:12 +00:00
|
|
|
/**
|
|
|
|
* The available handler classes.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
public $handlers = [
|
|
|
|
'gd' => \CodeIgniter\Images\Handlers\GDHandler::class,
|
|
|
|
'imagick' => \CodeIgniter\Images\Handlers\ImageMagickHandler::class,
|
|
|
|
];
|
2020-05-27 18:46:16 +02:00
|
|
|
}
|