diff options
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']); |