Files
sterivein/web/index.php
2013-06-10 15:36:02 +02:00

17 lines
371 B
PHP

<?php
use Symfony\Component\HttpFoundation\Request;
use Thelia\Core\Thelia;
//use Symfony\Component\DependencyInjection;
$env = 'prod';
require __DIR__ . '/../core/bootstrap.php';
$request = Request::createFromGlobals();
$thelia = new Thelia("prod", false);
$response = $thelia->handle($request)->prepare($request)->send();
$thelia->terminate($request, $response);