sauvegarde 10/10/2012

Début d'implémentation du controlleur / matcher pour le routing
Voir http://dev.thelia.net/index.php?title=Routing
This commit is contained in:
Manuel Raynaud
2012-10-10 18:07:08 +02:00
parent 1578bec3d1
commit 69ac78c790
5 changed files with 183 additions and 25 deletions

View File

@@ -22,11 +22,11 @@ if( false === in_array($request->getClientIp(), $trustIp)){
$thelia = new Thelia('dev', true);
var_dump($thelia->getContainer());
//var_dump($thelia->getContainer());
//$response = $thelia->handle($request)->prepare($request)->send();
//
//$thelia->terminate($request, $reponse);
$response = $thelia->handle($request)->prepare($request)->send();
$thelia->terminate($request, $reponse);
?>