web/app.php
author ymh <ymh.work@gmail.com>
Wed, 19 Oct 2011 14:33:40 +0200
changeset 12 c92424a0eb8a
parent 0 7f95f8617b0b
permissions -rwxr-xr-x
add command to sync documents

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