diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/AppKernel.php | 1 | ||||
-rw-r--r-- | app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml | 2 | ||||
-rw-r--r-- | app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml | 2 | ||||
-rw-r--r-- | app/config/config.yml | 10 |
4 files changed, 15 insertions, 0 deletions
diff --git a/app/AppKernel.php b/app/AppKernel.php index 82d3aa38..08c9cc27 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php | |||
@@ -34,6 +34,7 @@ class AppKernel extends Kernel | |||
34 | new Wallabag\ImportBundle\WallabagImportBundle(), | 34 | new Wallabag\ImportBundle\WallabagImportBundle(), |
35 | new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(), | 35 | new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(), |
36 | new Craue\ConfigBundle\CraueConfigBundle(), | 36 | new Craue\ConfigBundle\CraueConfigBundle(), |
37 | new Lexik\Bundle\MaintenanceBundle\LexikMaintenanceBundle(), | ||
37 | ]; | 38 | ]; |
38 | 39 | ||
39 | if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { | 40 | if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { |
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml index 719e51ea..b627376e 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml | |||
@@ -25,3 +25,5 @@ modify_settings: "apply" | |||
25 | piwik_host: Host of your website in Piwik | 25 | piwik_host: Host of your website in Piwik |
26 | piwik_site_id: ID of your website in Piwik | 26 | piwik_site_id: ID of your website in Piwik |
27 | piwik_enabled: Enable Piwik | 27 | piwik_enabled: Enable Piwik |
28 | demo_mode_enabled: "Enable demo mode ? (only used for the wallabag public demo)" | ||
29 | demo_mode_username: "Demo user" | ||
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml index ab5dfc72..084eb6df 100644 --- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml +++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml | |||
@@ -25,3 +25,5 @@ modify_settings: "appliquer" | |||
25 | piwik_host: URL de votre site dans Piwik | 25 | piwik_host: URL de votre site dans Piwik |
26 | piwik_site_id: ID de votre site dans Piwik | 26 | piwik_site_id: ID de votre site dans Piwik |
27 | piwik_enabled: Activer Piwik | 27 | piwik_enabled: Activer Piwik |
28 | demo_mode_enabled: "Activer le mode démo ? (utiliser uniquement pour la démo publique de wallabag)" | ||
29 | demo_mode_username: "Utilisateur de la démo" | ||
diff --git a/app/config/config.yml b/app/config/config.yml index bd269b07..07a4b0b6 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -200,3 +200,13 @@ scheb_two_factor: | |||
200 | kphoen_rulerz: | 200 | kphoen_rulerz: |
201 | executors: | 201 | executors: |
202 | doctrine: true | 202 | doctrine: true |
203 | |||
204 | lexik_maintenance: | ||
205 | authorized: | ||
206 | ips: ['127.0.0.1'] | ||
207 | driver: | ||
208 | ttl: 3600 | ||
209 | class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver' | ||
210 | response: | ||
211 | code: 503 | ||
212 | status: "wallabag Service Temporarily Unavailable" | ||