summaryrefslogtreecommitdiff
path: root/fai_gestion/config/app.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 11:51:01 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-16 11:51:01 +0200
commit7bf701764ff5661d053244b263cfe0be423faef5 (patch)
tree4be907aa8d55894e196ff2f9fdb5bff135d8787a /fai_gestion/config/app.php
parent8d39eb3d5ad5baee721a2c6518a8429fb0cbd1bf (diff)
downloadchd_gestion-7bf701764ff5661d053244b263cfe0be423faef5.zip
chd_gestion-7bf701764ff5661d053244b263cfe0be423faef5.tar.gz
chd_gestion-7bf701764ff5661d053244b263cfe0be423faef5.tar.bz2
Config : database, salt, inflections, datetime format
Diffstat (limited to 'fai_gestion/config/app.php')
-rw-r--r--fai_gestion/config/app.php70
1 files changed, 3 insertions, 67 deletions
diff --git a/fai_gestion/config/app.php b/fai_gestion/config/app.php
index 88a44c5..0a913ab 100644
--- a/fai_gestion/config/app.php
+++ b/fai_gestion/config/app.php
@@ -68,7 +68,7 @@ return [
* You should treat it as extremely sensitive data.
*/
'Security' => [
- 'salt' => env('SECURITY_SALT', 'hexhexhexhexhexhexhexhexhexhexhexhexhexhexhexhexhexhexhexhexhexh'),
+ // See config/app_credentials.php
],
/**
@@ -223,7 +223,7 @@ return [
'Email' => [
'default' => [
'transport' => 'default',
- 'from' => 'you@localhost',
+ 'from' => 'question@intarnet.fr',
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
],
@@ -243,71 +243,7 @@ return [
* other RDBMS.
*/
'Datasources' => [
- 'default' => [
- 'className' => 'Cake\Database\Connection',
- 'driver' => 'Cake\Database\Driver\Mysql',
- 'persistent' => false,
- 'host' => 'localhost',
- /*
- * CakePHP will use the default DB port based on the driver selected
- * MySQL on MAMP uses port 8889, MAMP users will want to uncomment
- * the following line and set the port accordingly
- */
- //'port' => 'non_standard_port_number',
- 'username' => 'my_app',
- 'password' => 'secret',
- 'database' => 'my_app',
- /*
- * You do not need to set this flag to use full utf-8 encoding (internal default since CakePHP 3.6).
- */
- //'encoding' => 'utf8mb4',
- 'timezone' => 'UTC',
- 'flags' => [],
- 'cacheMetadata' => true,
- 'log' => false,
-
- /**
- * Set identifier quoting to true if you are using reserved words or
- * special characters in your table or column names. Enabling this
- * setting will result in queries built using the Query Builder having
- * identifiers quoted when creating SQL. It should be noted that this
- * decreases performance because each query needs to be traversed and
- * manipulated before being executed.
- */
- 'quoteIdentifiers' => false,
-
- /**
- * During development, if using MySQL < 5.6, uncommenting the
- * following line could boost the speed at which schema metadata is
- * fetched from the database. It can also be set directly with the
- * mysql configuration directive 'innodb_stats_on_metadata = 0'
- * which is the recommended value in production environments
- */
- //'init' => ['SET GLOBAL innodb_stats_on_metadata = 0'],
-
- 'url' => env('DATABASE_URL', null),
- ],
-
- /**
- * The test connection is used during the test suite.
- */
- 'test' => [
- 'className' => 'Cake\Database\Connection',
- 'driver' => 'Cake\Database\Driver\Mysql',
- 'persistent' => false,
- 'host' => 'localhost',
- //'port' => 'non_standard_port_number',
- 'username' => 'my_app',
- 'password' => 'secret',
- 'database' => 'test_myapp',
- //'encoding' => 'utf8mb4',
- 'timezone' => 'UTC',
- 'cacheMetadata' => true,
- 'quoteIdentifiers' => false,
- 'log' => false,
- //'init' => ['SET GLOBAL innodb_stats_on_metadata = 0'],
- 'url' => env('DATABASE_TEST_URL', null),
- ],
+ // See config/app_credentials.php
],
/**