openrat-cms

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

commit 5bf6cc64bf1a6cbefc3e415b8fdcca1eb977d9fb
parent 4859ba460992df43ec6b8cb60066af290680c5bf
Author: Jan Dankert <devnull@localhost>
Date:   Sat,  1 Sep 2018 02:12:40 +0200

Fix: Keinen Header setzen, wenn schon Ausgabe erfolgt ist.

Diffstat:
index.php | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/index.php b/index.php @@ -10,9 +10,10 @@ try { } catch (Exception $e) { if (!headers_sent()) +{ header('HTTP/1.0 500 Internal Server Error'); - header('Content-Security-Policy: style-src: inline;' ); - + header('Content-Security-Policy: style-src: inline;'); +} ?><!DOCTYPE html> <html lang="en">