Tests: made tests compatible with PHP 5.3.
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
<?php
|
||||
http_response_code(404);
|
||||
if (!function_exists('http_response_code')) {
|
||||
header('Temporary-Header: True', true, 404);
|
||||
header_remove('Temporary-Header');
|
||||
} else {
|
||||
http_response_code(404);
|
||||
}
|
||||
|
||||
include('404.html');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user