8000 On line 360 the header not working · symfony/symfony-docs@ebaf72c · GitHub
[go: up one dir, main page]

Skip to content

Commit ebaf72c

Browse files
Muhammad Nasir Rahimixabbuh
Muhammad Nasir Rahimi
authored andcommitted
On line 360 the header not working
1 parent 59be653 commit ebaf72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/from_flat_php_to_symfony2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ on the requested URI::
357357
} elseif ('/index.php/show' === $uri && isset($_GET['id'])) {
358358
show_action($_GET['id']);
359359
} else {
360-
header('Status: 404 Not Found');
360+
header('HTTP/1.1 404 Not Found');
361361
echo '<html><body><h1>Page Not Found</h1></body></html>';
362362
}
363363

0 commit comments

Comments
 (0)
0