summaryrefslogtreecommitdiff
path: root/fai_gestion/config/bootstrap.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-20 00:41:45 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-20 00:41:45 +0200
commitb59164b0b7451905adcca244e6395281eb0633ca (patch)
tree098111b525b796221a931aaae5c1688cf1a45d88 /fai_gestion/config/bootstrap.php
parent76ab63096a25f5bf7b9d076cdc9ab3fc5218d216 (diff)
downloadchd_gestion-b59164b0b7451905adcca244e6395281eb0633ca.zip
chd_gestion-b59164b0b7451905adcca244e6395281eb0633ca.tar.gz
chd_gestion-b59164b0b7451905adcca244e6395281eb0633ca.tar.bz2
bake add Search filter support
Diffstat (limited to 'fai_gestion/config/bootstrap.php')
-rw-r--r--fai_gestion/config/bootstrap.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/fai_gestion/config/bootstrap.php b/fai_gestion/config/bootstrap.php
index 24f6908..9a77fca 100644
--- a/fai_gestion/config/bootstrap.php
+++ b/fai_gestion/config/bootstrap.php
@@ -205,3 +205,14 @@ FrozenDate::setToStringFormat('yyyy-MM-dd'); // For any immutable Date
//Inflector::rules('transliteration', ['/å/' => 'aa']);
Inflector::rules('uninflected', ['relais']);
Inflector::rules('irregular', ['interesse' => 'interesses']);
+
+/*
+ * Note : Cake 3.6 introduce new way of loading plugins
+ * src/Application.php:
+ * public function bootstrap()
+ * {
+ * #[...]
+ * $this->addPlugin('Search');
+ * }
+ * Old-style was adding Plugin::load('Search'); in this file.
+ */