openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 44bce23a62911eba7863a189171dd7587b53d549
parent 6117066c4dff537274081d4d94ceea13f10f07f7
Author: dankert <devnull@localhost>
Date:   Tue, 20 Oct 2009 09:10:21 +0200

Fuer \"expires\"-Header Systemdatum mit gmdate() holen.

Diffstat:
actionClasses/Action.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/actionClasses/Action.class.php b/actionClasses/Action.class.php @@ -297,7 +297,7 @@ class Action if ( headers_sent() ) Http::serverError("Some server error messages occured - see above - CMS canceled."); - $expires = substr(date('r',time()-date('Z')),0,-5).'GMT'; + $expires = substr(gmdate('r'),0,-5).'GMT'; header('Expires: ' .$expires ); header('X-Content-Security-Policy: '.'allow *; script-src \'self\'; options \'inline-script\'');