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:51:38 +0300 |
commit | e46fdb8e5e5fab4df762d0af54e328f290f442a8 (patch) | |
tree | b53549599b2476bd83f77d948472ce10f7eac91e /phpinfo.php | |
parent | 01673e94ddc4f22f6ce2647e764f495d1d911971 (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 5854ff4c9e..cab875ffae 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_Response::getInstance()->disable(); +$response = PMA_Response::getInstance(); +$response->disable(); +$response->getHeader()->sendHttpHeaders(); /** * Displays PHP information |