antville/code/Root/notfound.hac
Robert Gaggl 2178e1cd3a renamed global function setLayout() to getParent()
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:47:37 +00:00

7 lines
No EOL
196 B
Text

var parent = getParent();
res.data.title = "Antville - 404 - not found";
res.data.body = "<p><b>Sorry!</b></p><p>URL /"+req.path+" was not found on this server!</p>";
parent.renderSkin("page");