Stack2RSS 1.0
A simple web application that creates an RSS feed given an API route.

src/error.php

Go to the documentation of this file.
00001 <?php
00002 
00003 /// \file error.php Displays an error indicating a missing page.
00004 
00005 require 'header.inc';
00006 
00007 // Check to see if any errors were defined
00008 if(!isset($error_title))
00009     $error_title = "This isn't the page you're looking for.";
00010 
00011 if(!isset($error_desc))
00012     $error_desc = "The page you are trying to view does not exist. You have likely followed an old or outdated " .
00013                   "link or you have misspelled something in the URL.</p><p>If you're not sure how to find what " .
00014                   "you're looking for, please visit the <a href='" . CONFIG_DOCUMENT_ROOT . "'>home page</a>.";
00015 
00016 ?>
00017 <h2><?php echo $error_title; ?></h2>
00018 <p><?php echo $error_desc; ?></p>
00019 <?php
00020 
00021 require 'footer.inc';
00022 
00023 ?>
 All Classes Files Functions Enumerations