disable caching for backend output
This commit is contained in:
parent
5f136c9acc
commit
ce0619bbb0
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
|||
<?
|
||||
session_start();
|
||||
|
||||
header("Cache-Control: no-cache");
|
||||
header("Pragma: no-cache");
|
||||
header("Expires: -1");
|
||||
|
||||
if ($_GET["debug"]) {
|
||||
define('DEFAULT_ERROR_LEVEL', E_ALL);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue