diff options
author | Michal Čihař <michal@cihar.com> | 2016-06-30 10:49:37 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-06-30 10:49:37 +0300 |
commit | 9f3823a6bc986e911b52b41338881ff35dccc37c (patch) | |
tree | 1496974651176fefab80a47a76add010b89d79ae /phpinfo.php | |
parent | f2042085409550bea9fc01fb20b4d0f782287c5c (diff) |
Sent CSP headers for phpinfo
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'phpinfo.php')
-rw-r--r-- | phpinfo.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpinfo.php b/phpinfo.php index 55ff9d27b4..6ac84c7ea4 100644 --- a/phpinfo.php +++ b/phpinfo.php @@ -10,7 +10,9 @@ * Gets core libraries and defines some variables */ require_once 'libraries/common.inc.php'; -PMA\libraries\Response::getInstance()->disable(); +$response = PMA\libraries\Response::getInstance(); +$response->disable(); +$response->getHeader()->sendHttpHeaders(); /** * Displays PHP information |