So in an ordinary PHP application if I wanted to force https I would put in each page something like this:
if($_SERVER["HTTPS"] != "on")
{
header("Location: https://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
exit();
}
But within the context of Phalcon is there some way to do this? Would I put that inside my dispatcher somewhere?