app.php 357B

12345678910111213
  1. <?php
  2. require_once __DIR__.'/../app/bootstrap.php.cache';
  3. require_once __DIR__.'/../app/AppKernel.php';
  4. //require_once __DIR__.'/../app/AppCache.php';
  5. use Symfony\Component\HttpFoundation\Request;
  6. $kernel = new AppKernel('prod', false);
  7. $kernel->loadClassCache();
  8. //$kernel = new AppCache($kernel);
  9. $kernel->handle(Request::createFromGlobals())->send();