diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-01-28 11:01:22 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-01-28 11:02:44 +0000 |
| commit | 0f70b9be1c1baf38659b9c7b919621ac363777ab (patch) | |
| tree | d91308b22613a6963a3cc46ea85a56baa66ca3f1 /import.php | |
| parent | e0d050c57b008e0b7552a5d89593b28b8fb7a355 (diff) | |
| download | webtrees-0f70b9be1c1baf38659b9c7b919621ac363777ab.tar.gz webtrees-0f70b9be1c1baf38659b9c7b919621ac363777ab.tar.bz2 webtrees-0f70b9be1c1baf38659b9c7b919621ac363777ab.zip | |
Use PHP function to set HTTP status
Diffstat (limited to 'import.php')
| -rw-r--r-- | import.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
