diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-16 11:51:01 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-16 11:51:01 +0200 |
commit | 7bf701764ff5661d053244b263cfe0be423faef5 (patch) | |
tree | 4be907aa8d55894e196ff2f9fdb5bff135d8787a /fai_gestion/config/bootstrap.php | |
parent | 8d39eb3d5ad5baee721a2c6518a8429fb0cbd1bf (diff) | |
download | chd_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/bootstrap.php')
-rw-r--r-- | fai_gestion/config/bootstrap.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fai_gestion/config/bootstrap.php b/fai_gestion/config/bootstrap.php index 1911964..b68fbc9 100644 --- a/fai_gestion/config/bootstrap.php +++ b/fai_gestion/config/bootstrap.php @@ -78,6 +78,7 @@ try { * shared configuration. */ //Configure::load('app_local', 'default'); +Configure::load('app_credentials', 'default'); /* * When debug = true the metadata cache should only last @@ -184,7 +185,7 @@ Type::build('time') Type::build('date') ->useImmutable(); Type::build('datetime') - ->useImmutable(); + ->useImmutable()->useLocaleParser()->setLocaleFormat('yyyy-MM-dd'); Type::build('timestamp') ->useImmutable(); @@ -197,3 +198,5 @@ Type::build('timestamp') //Inflector::rules('irregular', ['red' => 'redlings']); //Inflector::rules('uninflected', ['dontinflectme']); //Inflector::rules('transliteration', ['/å/' => 'aa']); +Inflector::rules('uninflected', ['relais']); +Inflector::rules('irregular', ['interesse' => 'interesses']); |