'X-Forwarded-For', * '192.168.5.0/24' => 'X-Real-IP', * ] * * @var array */ public array $proxyIPs = []; /** * -------------------------------------------------------------------------- * CSRF Token Name * -------------------------------------------------------------------------- * * The token name. * * @deprecated Use `Config\Security` $tokenName property instead of using this property. */ public string $CSRFTokenName = 'csrf_test_name'; /** * -------------------------------------------------------------------------- * CSRF Header Name * -------------------------------------------------------------------------- * * The header name. * * @deprecated Use `Config\Security` $headerName property instead of using this property. */ public string $CSRFHeaderName = 'X-CSRF-TOKEN'; /** * -------------------------------------------------------------------------- * CSRF Cookie Name * -------------------------------------------------------------------------- * * The cookie name. * * @deprecated Use `Config\Security` $cookieName property instead of using this property. */ public string $CSRFCookieName = 'csrf_cookie_name'; /** * -------------------------------------------------------------------------- * CSRF Expire * -------------------------------------------------------------------------- * * The number in seconds the token should expire. * * @deprecated Use `Config\Security` $expire property instead of using this property. */ public int $CSRFExpire = 7200; /** * -------------------------------------------------------------------------- * CSRF Regenerate * -------------------------------------------------------------------------- * * Regenerate token on every submission? * * @deprecated Use `Config\Security` $regenerate property instead of using this property. */ public bool $CSRFRegenerate = true; /** * -------------------------------------------------------------------------- * CSRF Redirect * -------------------------------------------------------------------------- * * Redirect to previous page with error on failure? * * @deprecated Use `Config\Security` $redirect property instead of using this property. */ public bool $CSRFRedirect = true; /** * -------------------------------------------------------------------------- * CSRF SameSite * -------------------------------------------------------------------------- * * Setting for CSRF SameSite cookie token. Allowed values are: * - None * - Lax * - Strict * - '' * * Defaults to `Lax` as recommended in this link: * * @see https://portswigger.net/web-security/csrf/samesite-cookies * * @deprecated Use `Config\Security` $samesite property instead of using this property. */ public string $CSRFSameSite = 'Lax'; /** * -------------------------------------------------------------------------- * Content Security Policy * -------------------------------------------------------------------------- * * Enables the Response's Content Secure Policy to restrict the sources that * can be used for images, scripts, CSS files, audio, video, etc. If enabled, * the Response object will populate default values for the policy from the * `ContentSecurityPolicy.php` file. Controllers can always add to those * restrictions at run time. * * For a better understanding of CSP, see these documents: * * @see http://www.html5rocks.com/en/tutorials/security/content-security-policy/ * @see http://www.w3.org/TR/CSP/ */ public bool $CSPEnabled = false; /** * -------------------------------------------------------------------------- * Instance / Site Config * -------------------------------------------------------------------------- */ public string $siteName = 'Castopod'; public string $siteTitleSeparator = ' | '; public string $siteDescription = 'Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience.'; /** * @var array */ public array $siteIcon = [ 'ico' => '/favicon.ico', '64' => '/icon-64.png', '180' => '/icon-180.png', '192' => '/icon-192.png', '512' => '/icon-512.png', ]; public string $theme = 'pine'; /** * Storage limit in Gigabytes */ public ?int $storageLimit = null; /** * Bandwidth limit (per month) in Gigabytes */ public ?int $bandwidthLimit = null; public ?string $legalNoticeURL = null; }