app.php 439 B

123456789101112131415
  1. <?php
  2. ini_set('date.timezone', 'UTC');
  3. require_once __DIR__.'/../app/bootstrap.php.cache';
  4. require_once __DIR__.'/../app/AppKernel.php';
  5. require_once __DIR__.'/../app/AppCache.php';
  6. use Symfony\Component\HttpFoundation\Request;
  7. $kernel = new AppKernel('prod', false);
  8. $kernel->loadClassCache();
  9. // wrap the default AppKernel with the AppCache one
  10. $kernel = new AppCache($kernel);
  11. $kernel->handle(Request::createFromGlobals())->send();