disable caching for backend output

This commit is contained in:
Andrew Dolgov 2006-02-24 18:57:14 +01:00
parent 5f136c9acc
commit ce0619bbb0
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
<?
session_start();
header("Cache-Control: no-cache");
header("Pragma: no-cache");
header("Expires: -1");
if ($_GET["debug"]) {
define('DEFAULT_ERROR_LEVEL', E_ALL);