43 lines
1.2 KiB
PHP
43 lines
1.2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* This file is part of CodeIgniter 4 framework.
|
|
*
|
|
* (c) CodeIgniter Foundation <admin@codeigniter.com>
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace CodeIgniter\Test\Mock;
|
|
|
|
use Config\App;
|
|
|
|
class MockAppConfig extends App
|
|
{
|
|
public $baseURL = 'http://example.com/';
|
|
public $uriProtocol = 'REQUEST_URI';
|
|
public $cookiePrefix = '';
|
|
public $cookieDomain = '';
|
|
public $cookiePath = '/';
|
|
public $cookieSecure = false;
|
|
public $cookieHTTPOnly = false;
|
|
public $cookieSameSite = 'Lax';
|
|
public $proxyIPs = '';
|
|
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 $CSRFSameSite = 'Lax';
|
|
public $CSPEnabled = false;
|
|
public $defaultLocale = 'en';
|
|
public $negotiateLocale = false;
|
|
public $supportedLocales = [
|
|
'en',
|
|
'es',
|
|
];
|
|
}
|