Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix links to public/404.html

  • Loading branch information...
commit b436b3b689208a3fa0eb8336ffdf017980916d31 1 parent 189db53
@kolber authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/stacey.inc.php
View
4 app/stacey.inc.php
@@ -140,8 +140,8 @@ function __construct($get) {
$this->route = '404';
$this->create_page(Config::$content_folder.'/404');
}
- else if(file_exists('./public/404.html')) {
- echo file_get_contents('./public/404.html');
+ else if(file_exists(Config::$root_folder.'public/404.html')) {
+ echo file_get_contents(Config::$root_folder.'public/404.html');
}
else {
echo '<h1>404</h1><h2>Page could not be found.</h2><p>Unfortunately, the page you were looking for does not exist here.</p>';
Please sign in to comment.
Something went wrong with that request. Please try again.