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); echo "page parsed in : " . (microtime(true) - $thelia->getStartTime());