- CodeIgniter 4 framework setup with SQL Server database config - Models: Control, Test, Dept, Result, Daily/ Monthly entry models - Controllers: Dashboard, Control, Test, Dept, Entry, Report, API endpoints - Views: CRUD pages with modal dialogs, dashboard, reports - Database: Migrations for control test and daily/monthly result tables - Legacy v1 PHP application preserved in /v1 directory - Documentation: AGENTS.md, VIEWS_RULES.md for development guidelines
32 lines
708 B
PHP
32 lines
708 B
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
use CodeIgniter\Images\Handlers\GDHandler;
|
|
use CodeIgniter\Images\Handlers\ImageMagickHandler;
|
|
|
|
class Images extends BaseConfig
|
|
{
|
|
/**
|
|
* Default handler used if no other handler is specified.
|
|
*/
|
|
public string $defaultHandler = 'gd';
|
|
|
|
/**
|
|
* The path to the image library.
|
|
* Required for ImageMagick, GraphicsMagick, or NetPBM.
|
|
*/
|
|
public string $libraryPath = '/usr/local/bin/convert';
|
|
|
|
/**
|
|
* The available handler classes.
|
|
*
|
|
* @var array<string, string>
|
|
*/
|
|
public array $handlers = [
|
|
'gd' => GDHandler::class,
|
|
'imagick' => ImageMagickHandler::class,
|
|
];
|
|
}
|