Skip to content
Browse files

Get custom 404 pages working again

  • Loading branch information...
1 parent 3bd5e02 commit 70123824feae5d2b8d5e7cee54d1259bafb5badd @kolber committed May 30, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/stacey.inc.php
View
3 app/stacey.inc.php
@@ -137,7 +137,8 @@ function __construct($get) {
# return 404 headers
header('HTTP/1.0 404 Not Found');
if(file_exists(Config::$content_folder.'/404')) {
- $this->create_page(Config::$content_folder.'/404', '404');
+ $this->route = '404';
+ $this->create_page(Config::$content_folder.'/404');
}
else if(file_exists('./public/404.html')) {
echo file_get_contents('./public/404.html');

0 comments on commit 7012382

Please sign in to comment.
Something went wrong with that request. Please try again.