adding a conditional to use function http_response_code(), since it is only
available for php 5.4.x
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
<?php http_response_code(404); die; ?>
|
<?php if (function_exists("http_response_code")) {
|
||||||
|
http_response_code(404);
|
||||||
|
}?>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
|||||||
Reference in New Issue
Block a user