Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../directus
File: site.php
<?php
[0] Fix | Delete
[1] Fix | Delete
return [
[2] Fix | Delete
'database' => [
[3] Fix | Delete
'type' => 'mysql',
[4] Fix | Delete
'host' => '[[softdbhost]]',
[5] Fix | Delete
'port' => 3306,
[6] Fix | Delete
'name' => '[[softdb]]',
[7] Fix | Delete
'username' => '[[softdbuser]]',
[8] Fix | Delete
'password' => '[[softdbpass]]',
[9] Fix | Delete
'engine' => 'InnoDB',
[10] Fix | Delete
'charset' => 'utf8mb4',
[11] Fix | Delete
// Remove 'host' above when using sockets
[12] Fix | Delete
'socket' => '',
[13] Fix | Delete
],
[14] Fix | Delete
[15] Fix | Delete
'cookie' => [
[16] Fix | Delete
'same_site' => 'Lax',
[17] Fix | Delete
'secure' => false
[18] Fix | Delete
],
[19] Fix | Delete
[20] Fix | Delete
'cors' => [
[21] Fix | Delete
'enabled' => true,
[22] Fix | Delete
'origin' => array (
[23] Fix | Delete
0 => '*',
[24] Fix | Delete
),
[25] Fix | Delete
'methods' => array (
[26] Fix | Delete
0 => 'GET',
[27] Fix | Delete
1 => 'POST',
[28] Fix | Delete
2 => 'PUT',
[29] Fix | Delete
3 => 'PATCH',
[30] Fix | Delete
4 => 'DELETE',
[31] Fix | Delete
5 => 'HEAD',
[32] Fix | Delete
),
[33] Fix | Delete
'headers' => array (
[34] Fix | Delete
),
[35] Fix | Delete
'exposed_headers' => array (
[36] Fix | Delete
),
[37] Fix | Delete
'max_age' => 600,
[38] Fix | Delete
'credentials' => true,
[39] Fix | Delete
],
[40] Fix | Delete
[41] Fix | Delete
'rate_limit' => [
[42] Fix | Delete
'enabled' => false,
[43] Fix | Delete
'limit' => 100,
[44] Fix | Delete
'interval' => 60,
[45] Fix | Delete
'adapter' => 'redis',
[46] Fix | Delete
'host' => '127.0.0.1',
[47] Fix | Delete
'port' => 6379,
[48] Fix | Delete
'timeout' => 10,
[49] Fix | Delete
],
[50] Fix | Delete
[51] Fix | Delete
'storage' => [
[52] Fix | Delete
'adapter' => 'local',
[53] Fix | Delete
'root' => 'public/uploads/[[site_name]]/originals',
[54] Fix | Delete
'root_url' => '/uploads/[[site_name]]/originals',
[55] Fix | Delete
'thumb_root' => 'public/uploads/[[site_name]]/generated',
[56] Fix | Delete
// 'key' => '',
[57] Fix | Delete
// 'secret' => '',
[58] Fix | Delete
// 'region' => '',
[59] Fix | Delete
// 'version' => '',
[60] Fix | Delete
// 'bucket' => '',
[61] Fix | Delete
// 'options' => '',
[62] Fix | Delete
// 'endpoint' => '',
[63] Fix | Delete
// 'proxy_downloads' => '',
[64] Fix | Delete
],
[65] Fix | Delete
[66] Fix | Delete
'mail' => [
[67] Fix | Delete
'default' => [
[68] Fix | Delete
'transport' => 'sendmail',
[69] Fix | Delete
// 'sendmail' => '',
[70] Fix | Delete
// 'host' => '',
[71] Fix | Delete
// 'port' => '',
[72] Fix | Delete
// 'username' => '',
[73] Fix | Delete
// 'password' => '',
[74] Fix | Delete
// 'encryption' => '',
[75] Fix | Delete
'from' => 'admin@example.com'
[76] Fix | Delete
],
[77] Fix | Delete
],
[78] Fix | Delete
[79] Fix | Delete
'cache' => [
[80] Fix | Delete
'enabled' => false,
[81] Fix | Delete
'response_ttl' => 3600,
[82] Fix | Delete
'pool' => [
[83] Fix | Delete
// 'adapter' => '',
[84] Fix | Delete
// 'path' => '',
[85] Fix | Delete
// 'host' => '',
[86] Fix | Delete
// 'port' => '',
[87] Fix | Delete
],
[88] Fix | Delete
],
[89] Fix | Delete
[90] Fix | Delete
'auth' => [
[91] Fix | Delete
'secret_key' => '[[secret_key]]',
[92] Fix | Delete
'public_key' => '[[public_key]]',
[93] Fix | Delete
'ttl' => 20,
[94] Fix | Delete
'social_providers' => [
[95] Fix | Delete
// 'okta' => '',
[96] Fix | Delete
// 'github' => '',
[97] Fix | Delete
// 'facebook' => '',
[98] Fix | Delete
// 'google' => '',
[99] Fix | Delete
// 'twitter' => '',
[100] Fix | Delete
],
[101] Fix | Delete
],
[102] Fix | Delete
[103] Fix | Delete
'hooks' => [
[104] Fix | Delete
'actions' => [],
[105] Fix | Delete
'filters' => [],
[106] Fix | Delete
],
[107] Fix | Delete
[108] Fix | Delete
'tableBlacklist' => [],
[109] Fix | Delete
[110] Fix | Delete
'env' => 'production',
[111] Fix | Delete
[112] Fix | Delete
'logger' => [
[113] Fix | Delete
'path' => '[[softpath]]/src/core/Directus/Util/Installation/../../../../../logs',
[114] Fix | Delete
],
[115] Fix | Delete
];
[116] Fix | Delete
[117] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function