<?php
/**********************************
* @package: PerfCMS *
* @year: 2012 *
* @author: Artas *
* @link: http://perfcms.net *
* ------------------------------- *
* @package: PerfCMS Ultra *
* @year: 2013 *
* @author: wanya26ua & Tesla *
* @link: http://perfclub.ru *
**********************************/
if(isset($_GET['url']) && !empty($_GET['url'])) {
header('location: '.urldecode($_GET['url']));
} else {
header('location: /index.php');
}
?>