# Benson1994 (02.09.2016 / 17:25)
ДоХтор, После этого или до вставить
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Last-Modified: " .
Смотри по этому примеру
<?php
/**
* @package JohnCMS
* @link http://johncms.com
* @copyright Copyright (C) 2008-2011 JohnCMS Community
* @license LICENSE.txt (see attached file)
* @version VERSION.txt (see attached file)
* @author http://johncms.com/about
*/
defined('_IN_JOHNCMS') or die('Error: restricted access');
$headmod = isset($headmod) ? mysql_real_escape_string($headmod) : '';
$textl = isset($textl) ? $textl : $set['copyright'];
// ТВОЙ КОД ПЕРЕАДРЕСАЦИИ
if ($_SERVER['PHP_SELF'] == '/index.php') {
header('Location: '. $_SERVER['HTTP_HOST'] .'/cab/index.php');
exit;
}