mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:45:56 +00:00
no-cache fixes for safari
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
<?php
|
||||
require_once "sessions.php";
|
||||
require_once "modules/backend-rpc.php";
|
||||
|
||||
header("Cache-Control: no-cache, max-age=0, must-revalidate");
|
||||
header("Pragma: no-cache");
|
||||
header("Expires: " . gmdate("D, d M Y H:i:s", time()) . " GMT");
|
||||
|
||||
|
||||
|
||||
/* if ($_GET["debug"]) {
|
||||
define('DEFAULT_ERROR_LEVEL', E_ALL);
|
||||
} else {
|
||||
@@ -23,6 +20,8 @@
|
||||
require_once "db-prefs.php";
|
||||
require_once "functions.php";
|
||||
|
||||
no_cache_incantation();
|
||||
|
||||
$script_started = getmicrotime();
|
||||
|
||||
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
|
||||
|
||||
Reference in New Issue
Block a user