web/app.php
author ymh <ymh.work@gmail.com>
Mon, 17 Oct 2011 13:49:59 +0200
changeset 9 41a9fa70a47b
parent 0 7f95f8617b0b
permissions -rwxr-xr-x
continue to implement example app

<?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();