added 404 status code on page not found
This commit is contained in:
parent
76b348b12b
commit
0db39c2cb1
1 changed files with 1 additions and 0 deletions
|
|
@ -146,6 +146,7 @@ sub page {
|
|||
}
|
||||
} else {
|
||||
my $notFound = WebGUI::Asset->getNotFound;
|
||||
WebGUI::HTTP::setStatus("404","Page Not Found");
|
||||
$session{asset} = $notFound;
|
||||
$output = $notFound->www_view;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue