From 891cb2a55988ec1ab2c1f8026c50ac0b3910ee77 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 24 Nov 2015 19:18:00 +0100 Subject: [PATCH] doc --- README.md | 4 ++++ app/bootstrap.php.d/30-trans.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 11441c8..25c49f8 100644 --- a/README.md +++ b/README.md @@ -198,3 +198,7 @@ Edit `app/bootstrap.php.d/70-security.php` and modify the value of `$app['enable #### Disabling registration Edit `app/bootstrap.php.d/70-security.php` and modify the value of `$app['enable_registration']` with `false`. + +### Debug + +`app_dev.php` is the development router. Access is granted for an IP range defined in the same file. diff --git a/app/bootstrap.php.d/30-trans.php b/app/bootstrap.php.d/30-trans.php index f4334aa..e421458 100644 --- a/app/bootstrap.php.d/30-trans.php +++ b/app/bootstrap.php.d/30-trans.php @@ -11,7 +11,7 @@ use Symfony\Component\HttpFoundation\Cookie; $app->register(new TranslationServiceProvider(), array( 'locale' => 'en', 'locale_fallback' => 'en', - 'locales' => array('en', 'fr'), // Custom parameter, not Silex + 'locales' => array('en', 'fr'), )); $app['translator'] = $app->extend('translator', function ($translator, $app) {