mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
doc
This commit is contained in:
parent
4d5d2456a5
commit
891cb2a559
@ -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.
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user