Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../october
File: database.php
<?php
[0] Fix | Delete
[1] Fix | Delete
return [
[2] Fix | Delete
[3] Fix | Delete
/*
[4] Fix | Delete
|--------------------------------------------------------------------------
[5] Fix | Delete
| PDO Fetch Style
[6] Fix | Delete
|--------------------------------------------------------------------------
[7] Fix | Delete
|
[8] Fix | Delete
| By default, database results will be returned as instances of the PHP
[9] Fix | Delete
| stdClass object; however, you may desire to retrieve records in an
[10] Fix | Delete
| array format for simplicity. Here you can tweak the fetch style.
[11] Fix | Delete
|
[12] Fix | Delete
*/
[13] Fix | Delete
[14] Fix | Delete
'fetch' => PDO::FETCH_CLASS,
[15] Fix | Delete
[16] Fix | Delete
/*
[17] Fix | Delete
|--------------------------------------------------------------------------
[18] Fix | Delete
| Default Database Connection Name
[19] Fix | Delete
|--------------------------------------------------------------------------
[20] Fix | Delete
|
[21] Fix | Delete
| Here you may specify which of the database connections below you wish
[22] Fix | Delete
| to use as your default connection for all database work. Of course
[23] Fix | Delete
| you may use many connections at once using the Database library.
[24] Fix | Delete
|
[25] Fix | Delete
*/
[26] Fix | Delete
[27] Fix | Delete
'default' => 'mysql',
[28] Fix | Delete
[29] Fix | Delete
/*
[30] Fix | Delete
|--------------------------------------------------------------------------
[31] Fix | Delete
| Database Connections
[32] Fix | Delete
|--------------------------------------------------------------------------
[33] Fix | Delete
|
[34] Fix | Delete
| Here are each of the database connections setup for your application.
[35] Fix | Delete
| Of course, examples of configuring each database platform that is
[36] Fix | Delete
| supported by Laravel is shown below to make development simple.
[37] Fix | Delete
|
[38] Fix | Delete
|
[39] Fix | Delete
| All database work in Laravel is done through the PHP PDO facilities
[40] Fix | Delete
| so make sure you have the driver for your particular database of
[41] Fix | Delete
| choice installed on your machine before you begin development.
[42] Fix | Delete
|
[43] Fix | Delete
*/
[44] Fix | Delete
[45] Fix | Delete
'connections' => [
[46] Fix | Delete
[47] Fix | Delete
'sqlite' => [
[48] Fix | Delete
'driver' => 'sqlite',
[49] Fix | Delete
'database' => 'storage/database.sqlite',
[50] Fix | Delete
'prefix' => '',
[51] Fix | Delete
],
[52] Fix | Delete
[53] Fix | Delete
'mysql' => [
[54] Fix | Delete
'driver' => 'mysql',
[55] Fix | Delete
'engine' => 'InnoDB',
[56] Fix | Delete
'host' => '[[softdbhost]]',
[57] Fix | Delete
'port' => 3306,
[58] Fix | Delete
'database' => '[[softdb]]',
[59] Fix | Delete
'username' => '[[softdbuser]]',
[60] Fix | Delete
'password' => '[[softdbpass]]',
[61] Fix | Delete
'charset' => 'utf8mb4',
[62] Fix | Delete
'collation' => 'utf8mb4_unicode_ci',
[63] Fix | Delete
'prefix' => '',
[64] Fix | Delete
'varcharmax' => 191,
[65] Fix | Delete
],
[66] Fix | Delete
[67] Fix | Delete
'pgsql' => [
[68] Fix | Delete
'driver' => 'pgsql',
[69] Fix | Delete
'host' => 'localhost',
[70] Fix | Delete
'port' => 5432,
[71] Fix | Delete
'database' => 'database',
[72] Fix | Delete
'username' => 'root',
[73] Fix | Delete
'password' => '',
[74] Fix | Delete
'charset' => 'utf8',
[75] Fix | Delete
'prefix' => '',
[76] Fix | Delete
'schema' => 'public',
[77] Fix | Delete
],
[78] Fix | Delete
[79] Fix | Delete
'sqlsrv' => [
[80] Fix | Delete
'driver' => 'sqlsrv',
[81] Fix | Delete
'host' => 'localhost',
[82] Fix | Delete
'port' => 1433,
[83] Fix | Delete
'database' => 'database',
[84] Fix | Delete
'username' => 'root',
[85] Fix | Delete
'password' => '',
[86] Fix | Delete
'prefix' => '',
[87] Fix | Delete
],
[88] Fix | Delete
[89] Fix | Delete
],
[90] Fix | Delete
[91] Fix | Delete
/*
[92] Fix | Delete
|--------------------------------------------------------------------------
[93] Fix | Delete
| Migration Repository Table
[94] Fix | Delete
|--------------------------------------------------------------------------
[95] Fix | Delete
|
[96] Fix | Delete
| This table keeps track of all the migrations that have already run for
[97] Fix | Delete
| your application. Using this information, we can determine which of
[98] Fix | Delete
| the migrations on disk have not actually be run in the databases.
[99] Fix | Delete
|
[100] Fix | Delete
*/
[101] Fix | Delete
[102] Fix | Delete
'migrations' => 'migrations',
[103] Fix | Delete
[104] Fix | Delete
/*
[105] Fix | Delete
|--------------------------------------------------------------------------
[106] Fix | Delete
| Redis Databases
[107] Fix | Delete
|--------------------------------------------------------------------------
[108] Fix | Delete
|
[109] Fix | Delete
| Redis is an open source, fast, and advanced key-value store that also
[110] Fix | Delete
| provides a richer set of commands than a typical key-value systems
[111] Fix | Delete
| such as APC or Memcached. Laravel makes it easy to dig right in.
[112] Fix | Delete
|
[113] Fix | Delete
*/
[114] Fix | Delete
[115] Fix | Delete
'redis' => [
[116] Fix | Delete
[117] Fix | Delete
'cluster' => false,
[118] Fix | Delete
[119] Fix | Delete
'default' => [
[120] Fix | Delete
'host' => '127.0.0.1',
[121] Fix | Delete
'password' => null,
[122] Fix | Delete
'port' => 6379,
[123] Fix | Delete
'database' => 0,
[124] Fix | Delete
],
[125] Fix | Delete
[126] Fix | Delete
],
[127] Fix | Delete
[128] Fix | Delete
/*
[129] Fix | Delete
|--------------------------------------------------------------------------
[130] Fix | Delete
| Use DB configuration for testing
[131] Fix | Delete
|--------------------------------------------------------------------------
[132] Fix | Delete
|
[133] Fix | Delete
| When running plugin tests OctoberCMS by default uses SQLite in memory.
[134] Fix | Delete
| You can override this behavior by setting `useConfigForTesting` to true.
[135] Fix | Delete
|
[136] Fix | Delete
| After that OctoberCMS will take DB parameters from the config.
[137] Fix | Delete
| If file `/config/testing/database.php` exists, config will be read from it,
[138] Fix | Delete
| but remember that when not specified it will use parameters specified in
[139] Fix | Delete
| `/config/database.php`.
[140] Fix | Delete
|
[141] Fix | Delete
*/
[142] Fix | Delete
[143] Fix | Delete
'useConfigForTesting' => false,
[144] Fix | Delete
];
[145] Fix | Delete
[146] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function