From 0f70b9be1c1baf38659b9c7b919621ac363777ab Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Wed, 28 Jan 2015 11:01:22 +0000 Subject: Use PHP function to set HTTP status --- import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'import.php') diff --git a/import.php b/import.php index a82ab5f82f..9f8ecd4503 100644 --- a/import.php +++ b/import.php @@ -30,7 +30,7 @@ define('WT_SCRIPT_NAME', 'import.php'); require './includes/session.php'; if (!WT_USER_GEDCOM_ADMIN) { - header('HTTP/1.1 403 Access Denied'); + http_response_code(403); return; } -- cgit v1.3