web/app_dev.php line 0

Open in your IDE?
  1. <?php
  2. use Symfony\Component\HttpFoundation\Request;
  3. use Symfony\Component\Debug\Debug;
  4. // If you don't want to setup permissions the proper way, just uncomment the following PHP line
  5. // read http://symfony.com/doc/current/book/installation.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. /**
  11.  * @var Composer\Autoload\ClassLoader $loader
  12.  */
  13. $loader = require __DIR__.'/../app/autoload.php';
  14. Debug::enable();
  15. $kernel = new AppKernel('dev'true);
  16. $kernel->loadClassCache();
  17. $request Request::createFromGlobals();
  18. $response $kernel->handle($request);
  19. $response->send();
  20. $kernel->terminate($request$response);