Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../igniter
File: App.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Config;
[2] Fix | Delete
[3] Fix | Delete
use CodeIgniter\Config\BaseConfig;
[4] Fix | Delete
[5] Fix | Delete
class App extends BaseConfig
[6] Fix | Delete
{
[7] Fix | Delete
/**
[8] Fix | Delete
* --------------------------------------------------------------------------
[9] Fix | Delete
* Base Site URL
[10] Fix | Delete
* --------------------------------------------------------------------------
[11] Fix | Delete
*
[12] Fix | Delete
* URL to your CodeIgniter root. Typically, this will be your base URL,
[13] Fix | Delete
* WITH a trailing slash:
[14] Fix | Delete
*
[15] Fix | Delete
* E.g., http://example.com/
[16] Fix | Delete
*/
[17] Fix | Delete
public string $baseURL = '[[softurl]]/public/';
[18] Fix | Delete
[19] Fix | Delete
/**
[20] Fix | Delete
* Allowed Hostnames in the Site URL other than the hostname in the baseURL.
[21] Fix | Delete
* If you want to accept multiple Hostnames, set this.
[22] Fix | Delete
*
[23] Fix | Delete
* E.g.,
[24] Fix | Delete
* When your site URL ($baseURL) is 'http://example.com/', and your site
[25] Fix | Delete
* also accepts 'http://media.example.com/' and 'http://accounts.example.com/':
[26] Fix | Delete
* ['media.example.com', 'accounts.example.com']
[27] Fix | Delete
*
[28] Fix | Delete
* @var list<string>
[29] Fix | Delete
*/
[30] Fix | Delete
public array $allowedHostnames = [];
[31] Fix | Delete
[32] Fix | Delete
/**
[33] Fix | Delete
* --------------------------------------------------------------------------
[34] Fix | Delete
* Index File
[35] Fix | Delete
* --------------------------------------------------------------------------
[36] Fix | Delete
*
[37] Fix | Delete
* Typically, this will be your `index.php` file, unless you've renamed it to
[38] Fix | Delete
* something else. If you have configured your web server to remove this file
[39] Fix | Delete
* from your site URIs, set this variable to an empty string.
[40] Fix | Delete
*/
[41] Fix | Delete
public string $indexPage = 'index.php';
[42] Fix | Delete
[43] Fix | Delete
/**
[44] Fix | Delete
* --------------------------------------------------------------------------
[45] Fix | Delete
* URI PROTOCOL
[46] Fix | Delete
* --------------------------------------------------------------------------
[47] Fix | Delete
*
[48] Fix | Delete
* This item determines which server global should be used to retrieve the
[49] Fix | Delete
* URI string. The default setting of 'REQUEST_URI' works for most servers.
[50] Fix | Delete
* If your links do not seem to work, try one of the other delicious flavors:
[51] Fix | Delete
*
[52] Fix | Delete
* 'REQUEST_URI': Uses $_SERVER['REQUEST_URI']
[53] Fix | Delete
* 'QUERY_STRING': Uses $_SERVER['QUERY_STRING']
[54] Fix | Delete
* 'PATH_INFO': Uses $_SERVER['PATH_INFO']
[55] Fix | Delete
*
[56] Fix | Delete
* WARNING: If you set this to 'PATH_INFO', URIs will always be URL-decoded!
[57] Fix | Delete
*/
[58] Fix | Delete
public string $uriProtocol = 'REQUEST_URI';
[59] Fix | Delete
[60] Fix | Delete
/*
[61] Fix | Delete
|--------------------------------------------------------------------------
[62] Fix | Delete
| Allowed URL Characters
[63] Fix | Delete
|--------------------------------------------------------------------------
[64] Fix | Delete
|
[65] Fix | Delete
| This lets you specify which characters are permitted within your URLs.
[66] Fix | Delete
| When someone tries to submit a URL with disallowed characters they will
[67] Fix | Delete
| get a warning message.
[68] Fix | Delete
|
[69] Fix | Delete
| As a security measure you are STRONGLY encouraged to restrict URLs to
[70] Fix | Delete
| as few characters as possible.
[71] Fix | Delete
|
[72] Fix | Delete
| By default, only these are allowed: `a-z 0-9~%.:_-`
[73] Fix | Delete
|
[74] Fix | Delete
| Set an empty string to allow all characters -- but only if you are insane.
[75] Fix | Delete
|
[76] Fix | Delete
| The configured value is actually a regular expression character group
[77] Fix | Delete
| and it will be used as: '/\A[<permittedURIChars>]+\z/iu'
[78] Fix | Delete
|
[79] Fix | Delete
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
[80] Fix | Delete
|
[81] Fix | Delete
*/
[82] Fix | Delete
public string $permittedURIChars = 'a-z 0-9~%.:_\-';
[83] Fix | Delete
[84] Fix | Delete
/**
[85] Fix | Delete
* --------------------------------------------------------------------------
[86] Fix | Delete
* Default Locale
[87] Fix | Delete
* --------------------------------------------------------------------------
[88] Fix | Delete
*
[89] Fix | Delete
* The Locale roughly represents the language and location that your visitor
[90] Fix | Delete
* is viewing the site from. It affects the language strings and other
[91] Fix | Delete
* strings (like currency markers, numbers, etc), that your program
[92] Fix | Delete
* should run under for this request.
[93] Fix | Delete
*/
[94] Fix | Delete
public string $defaultLocale = 'en';
[95] Fix | Delete
[96] Fix | Delete
/**
[97] Fix | Delete
* --------------------------------------------------------------------------
[98] Fix | Delete
* Negotiate Locale
[99] Fix | Delete
* --------------------------------------------------------------------------
[100] Fix | Delete
*
[101] Fix | Delete
* If true, the current Request object will automatically determine the
[102] Fix | Delete
* language to use based on the value of the Accept-Language header.
[103] Fix | Delete
*
[104] Fix | Delete
* If false, no automatic detection will be performed.
[105] Fix | Delete
*/
[106] Fix | Delete
public bool $negotiateLocale = false;
[107] Fix | Delete
[108] Fix | Delete
/**
[109] Fix | Delete
* --------------------------------------------------------------------------
[110] Fix | Delete
* Supported Locales
[111] Fix | Delete
* --------------------------------------------------------------------------
[112] Fix | Delete
*
[113] Fix | Delete
* If $negotiateLocale is true, this array lists the locales supported
[114] Fix | Delete
* by the application in descending order of priority. If no match is
[115] Fix | Delete
* found, the first locale will be used.
[116] Fix | Delete
*
[117] Fix | Delete
* IncomingRequest::setLocale() also uses this list.
[118] Fix | Delete
*
[119] Fix | Delete
* @var list<string>
[120] Fix | Delete
*/
[121] Fix | Delete
public array $supportedLocales = ['en'];
[122] Fix | Delete
[123] Fix | Delete
/**
[124] Fix | Delete
* --------------------------------------------------------------------------
[125] Fix | Delete
* Application Timezone
[126] Fix | Delete
* --------------------------------------------------------------------------
[127] Fix | Delete
*
[128] Fix | Delete
* The default timezone that will be used in your application to display
[129] Fix | Delete
* dates with the date helper, and can be retrieved through app_timezone()
[130] Fix | Delete
*
[131] Fix | Delete
* @see https://www.php.net/manual/en/timezones.php for list of timezones
[132] Fix | Delete
* supported by PHP.
[133] Fix | Delete
*/
[134] Fix | Delete
public string $appTimezone = 'UTC';
[135] Fix | Delete
[136] Fix | Delete
/**
[137] Fix | Delete
* --------------------------------------------------------------------------
[138] Fix | Delete
* Default Character Set
[139] Fix | Delete
* --------------------------------------------------------------------------
[140] Fix | Delete
*
[141] Fix | Delete
* This determines which character set is used by default in various methods
[142] Fix | Delete
* that require a character set to be provided.
[143] Fix | Delete
*
[144] Fix | Delete
* @see http://php.net/htmlspecialchars for a list of supported charsets.
[145] Fix | Delete
*/
[146] Fix | Delete
public string $charset = 'UTF-8';
[147] Fix | Delete
[148] Fix | Delete
/**
[149] Fix | Delete
* --------------------------------------------------------------------------
[150] Fix | Delete
* Force Global Secure Requests
[151] Fix | Delete
* --------------------------------------------------------------------------
[152] Fix | Delete
*
[153] Fix | Delete
* If true, this will force every request made to this application to be
[154] Fix | Delete
* made via a secure connection (HTTPS). If the incoming request is not
[155] Fix | Delete
* secure, the user will be redirected to a secure version of the page
[156] Fix | Delete
* and the HTTP Strict Transport Security (HSTS) header will be set.
[157] Fix | Delete
*/
[158] Fix | Delete
public bool $forceGlobalSecureRequests = false;
[159] Fix | Delete
[160] Fix | Delete
/**
[161] Fix | Delete
* --------------------------------------------------------------------------
[162] Fix | Delete
* Reverse Proxy IPs
[163] Fix | Delete
* --------------------------------------------------------------------------
[164] Fix | Delete
*
[165] Fix | Delete
* If your server is behind a reverse proxy, you must whitelist the proxy
[166] Fix | Delete
* IP addresses from which CodeIgniter should trust headers such as
[167] Fix | Delete
* X-Forwarded-For or Client-IP in order to properly identify
[168] Fix | Delete
* the visitor's IP address.
[169] Fix | Delete
*
[170] Fix | Delete
* You need to set a proxy IP address or IP address with subnets and
[171] Fix | Delete
* the HTTP header for the client IP address.
[172] Fix | Delete
*
[173] Fix | Delete
* Here are some examples:
[174] Fix | Delete
* [
[175] Fix | Delete
* '10.0.1.200' => 'X-Forwarded-For',
[176] Fix | Delete
* '192.168.5.0/24' => 'X-Real-IP',
[177] Fix | Delete
* ]
[178] Fix | Delete
*
[179] Fix | Delete
* @var array<string, string>
[180] Fix | Delete
*/
[181] Fix | Delete
public array $proxyIPs = [];
[182] Fix | Delete
[183] Fix | Delete
/**
[184] Fix | Delete
* --------------------------------------------------------------------------
[185] Fix | Delete
* Content Security Policy
[186] Fix | Delete
* --------------------------------------------------------------------------
[187] Fix | Delete
*
[188] Fix | Delete
* Enables the Response's Content Secure Policy to restrict the sources that
[189] Fix | Delete
* can be used for images, scripts, CSS files, audio, video, etc. If enabled,
[190] Fix | Delete
* the Response object will populate default values for the policy from the
[191] Fix | Delete
* `ContentSecurityPolicy.php` file. Controllers can always add to those
[192] Fix | Delete
* restrictions at run time.
[193] Fix | Delete
*
[194] Fix | Delete
* For a better understanding of CSP, see these documents:
[195] Fix | Delete
*
[196] Fix | Delete
* @see http://www.html5rocks.com/en/tutorials/security/content-security-policy/
[197] Fix | Delete
* @see http://www.w3.org/TR/CSP/
[198] Fix | Delete
*/
[199] Fix | Delete
public bool $CSPEnabled = false;
[200] Fix | Delete
}
[201] Fix | Delete
[202] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function