View file modules/pages/redirect.php
<?php /********************************** * @package: PerfCMS * * @year: 2012 * * @author: Artas * * @link: http://perfcms.ru * **********************************/ if(isset($_GET['url']) && !empty($_GET['url'])) { header('location: '.urldecode($_GET['url'])); } else { header('location: /index.php'); } ?>