web/app_dev.php line 23

Open in your IDE?
  1. <?php
  2. use Symfony\Component\Debug\Debug;
  3. use Symfony\Component\HttpFoundation\Request;
  4. // If you don't want to setup permissions the proper way, just uncomment the following PHP line
  5. // read https://symfony.com/doc/current/setup.html#checking-symfony-application-configuration-and-setup
  6. // for more information
  7. //umask(0000);
  8. // This check prevents access to debug front controllers that are deployed by accident to production servers.
  9. // Feel free to remove this, extend it, or make something more sophisticated.
  10. setlocale(LC_TIME"fr_FR");
  11. require __DIR__.'/../vendor/autoload.php';
  12. Debug::enable();
  13. $kernel = new AppKernel('dev'true);
  14. if (PHP_VERSION_ID 70000) {
  15.     $kernel->loadClassCache();
  16. }
  17. $request Request::createFromGlobals();
  18. $response $kernel->handle($request);
  19. $response->send();
  20. $kernel->terminate($request$response);