Files
sterivein/web/index.php
Manuel Raynaud 630ac72aaa reindente some code
verify if config database file exists beforeinitializing Propel
2013-01-24 20:45:16 +01:00

18 lines
372 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);