Newer
Older
framework / tests / _support / Config / MockAppConfig.php
@Jim Parry Jim Parry on 19 Oct 2019 797 bytes Release 4.0.0-rc.3
<?php namespace Tests\Support\Config;

class MockAppConfig
{
	public $baseURL = 'http://example.com';

	public $uriProtocol = 'REQUEST_URI';

	public $cookiePrefix   = '';
	public $cookieDomain   = '';
	public $cookiePath     = '/';
	public $cookieSecure   = false;
	public $cookieHTTPOnly = false;

	public $proxyIPs = '';

	public $CSRFProtection  = false;
	public $CSRFTokenName   = 'csrf_test_name';
	public $CSRFHeaderName  = 'X-CSRF-TOKEN';
	public $CSRFCookieName  = 'csrf_cookie_name';
	public $CSRFExpire      = 7200;
	public $CSRFRegenerate  = true;
	public $CSRFExcludeURIs = ['http://example.com'];
	public $CSRFRedirect    = false;

	public $CSPEnabled = false;

	public $defaultLocale    = 'en';
	public $negotiateLocale  = false;
	public $supportedLocales = [
		'en',
		'es',
	];
}