mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- add .editorconfig file - format all files to comply with castopod's coding style - switch parsedown dependency with commonmark library to better follow commonmark spec for markdown - add prettier command to format all project files at once closes #16
34 lines
682 B
PHP
34 lines
682 B
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
class Images extends BaseConfig
|
|
{
|
|
/**
|
|
* Default handler used if no other handler is specified.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $defaultHandler = 'gd';
|
|
|
|
/**
|
|
* The path to the image library.
|
|
* Required for ImageMagick, GraphicsMagick, or NetPBM.
|
|
*
|
|
* @var string
|
|
*/
|
|
public $libraryPath = '/usr/local/bin/convert';
|
|
|
|
/**
|
|
* The available handler classes.
|
|
*
|
|
* @var array
|
|
*/
|
|
public $handlers = [
|
|
'gd' => \CodeIgniter\Images\Handlers\GDHandler::class,
|
|
'imagick' => \CodeIgniter\Images\Handlers\ImageMagickHandler::class,
|
|
];
|
|
}
|