This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
404 [2014/01/15 23:05] datiswous [Custom 404 Page] |
404 [2014/01/15 23:07] datiswous [Custom 404 Page] |
||
---|---|---|---|
Line 5: | Line 5: | ||
The code is in index.php | The code is in index.php | ||
- | <code># define page, spit out 404 if it doesn't exist | + | <code php># define page, spit out 404 if it doesn't exist |
$file = GSDATAPAGESPATH . $id .'.xml'; | $file = GSDATAPAGESPATH . $id .'.xml'; | ||
$file_404 = GSDATAOTHERPATH . '404.xml'; | $file_404 = GSDATAOTHERPATH . '404.xml'; |