<?php

/**
 * Snippet to force the page to be loaded over HTTP only.
 *
 * THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 *
 * @package clearFusionCMS\snippet\forcehttp
 * @copyright Copyright (c) 2013 clearFusionCMS. All rights reserved.
 * @link http://clearfusioncms.com
 */

/* @var $tplEngine cfTemplateEngine */

if(clearFusionCMS::getRequest()->isSecure())
	clearFusionCMS::getResponse()->redirectTo(clearFusionCMS::getRequest()->getSelf(true, false));
