web/app.php
author ymh <ymh.work@gmail.com>
Tue, 04 Oct 2011 10:12:08 +0200
changeset 5 d8cb31543a3f
parent 0 7f95f8617b0b
permissions -rwxr-xr-x
translation and override FOSUserBundle layout

<?php

require_once __DIR__.'/../app/bootstrap.php.cache';
require_once __DIR__.'/../app/AppKernel.php';
//require_once __DIR__.'/../app/AppCache.php';

use Symfony\Component\HttpFoundation\Request;

$kernel = new AppKernel('prod', false);
$kernel->loadClassCache();
//$kernel = new AppCache($kernel);
$kernel->handle(Request::createFromGlobals())->send();