getClientIp(), $trustIp)) { //change request to send to a 404 error page exit; } $thelia = new Thelia("dev", true); \Thelia\Tools\URL::retrieveCurrent($request); $response = $thelia->handle($request)->prepare($request)->send(); $thelia->terminate($request, $response); echo "\n"; echo "\n";