clean code with php-cs-fixer

This commit is contained in:
Manuel Raynaud
2012-11-03 09:39:40 +01:00
parent 67fa4f6706
commit 43ec85bb1e
20 changed files with 273 additions and 322 deletions

View File

@@ -15,16 +15,12 @@ $trustIp = array(
$request = Request::createFromGlobals();
if( false === in_array($request->getClientIp(), $trustIp)){
if ( false === in_array($request->getClientIp(), $trustIp)) {
//change request to send to a 404 error page
}
$thelia = new Thelia('dev', true);
$response = $thelia->handle($request)->prepare($request)->send();
$thelia->terminate($request, $response);
?>