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
|
#### Disabling registration
|
||||||
|
|
||||||
Edit `app/bootstrap.php.d/70-security.php` and modify the value of `$app['enable_registration']` with `false`.
|
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(
|
$app->register(new TranslationServiceProvider(), array(
|
||||||
'locale' => 'en',
|
'locale' => 'en',
|
||||||
'locale_fallback' => 'en',
|
'locale_fallback' => 'en',
|
||||||
'locales' => array('en', 'fr'), // Custom parameter, not Silex
|
'locales' => array('en', 'fr'),
|
||||||
));
|
));
|
||||||
|
|
||||||
$app['translator'] = $app->extend('translator', function ($translator, $app) {
|
$app['translator'] = $app->extend('translator', function ($translator, $app) {
|
||||||
|
|
Loading…
Reference in a new issue