- 134-tool registry with programmatic SEO (unique titles/H1/descriptions, JSON-LD graphs, sitemap index, canonical 301 enforcement via required filter) - DB-backed job queue (SKIP LOCKED) with drivers: Ffmpeg, Images (GD), Pdf (qpdf/gs/poppler), Youtube (thumbnails), Qr (server-side PNG) - Security: SSRF guard, MIME validation, rate limits, API-key auth, bcrypt admin login, security headers - Admin panel: dashboard, tools/categories/guides CRUD, SEO audit, analytics, job inspector with retry, system health, feature flags - Docker deployment (nginx + web/api FPM pools + scalable workers), PHPUnit suite (19 tests / 1139 assertions), PWA manifest + service worker
37 lines
1.0 KiB
PHP
37 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
class CURLRequest extends BaseConfig
|
|
{
|
|
/**
|
|
* --------------------------------------------------------------------------
|
|
* CURLRequest Share Connection Options
|
|
* --------------------------------------------------------------------------
|
|
*
|
|
* Share connection options between requests.
|
|
*
|
|
* @var list<int>
|
|
*
|
|
* @see https://www.php.net/manual/en/curl.constants.php#constant.curl-lock-data-connect
|
|
*/
|
|
public array $shareConnectionOptions = [
|
|
CURL_LOCK_DATA_CONNECT,
|
|
CURL_LOCK_DATA_DNS,
|
|
];
|
|
|
|
/**
|
|
* --------------------------------------------------------------------------
|
|
* CURLRequest Share Options
|
|
* --------------------------------------------------------------------------
|
|
*
|
|
* Whether share options between requests or not.
|
|
*
|
|
* If true, all the options won't be reset between requests.
|
|
* It may cause an error request with unnecessary headers.
|
|
*/
|
|
public bool $shareOptions = false;
|
|
}
|