diff --git a/gulliver/methods/errors/error404.php b/gulliver/methods/errors/error404.php index badb73e03..d9cb36807 100755 --- a/gulliver/methods/errors/error404.php +++ b/gulliver/methods/errors/error404.php @@ -1,61 +1,61 @@ -. - * - * For more information, contact Colosa Inc, 2566 Le Jeune Rd., - * Coral Gables, FL, 33134, USA, or email info@colosa.com. - * - */ - session_start(); - - if ( isset ( $_SESSION['phpFileNotFound'] ) ) - $uri = $_SESSION['phpFileNotFound']; - else if ( isset ( $_GET['l'] ) ) - $uri = htmlentities($_GET['l'], ENT_QUOTES, "UTF-8"); - else - $uri = 'undefined'; - - $referer = isset ( $_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : $_SESSION['phpLastFileFound']; - - $ERROR_TEXT = "404 Not Found "; - $ERROR_DESCRIPTION = " - Your browser (or proxy) sent a request - that this server could not understand.
-
- Possible reasons:
- Your link is broken. This may occur when you receive - a link via email, but your client software adds line breaks, thus distorting - long URLs.
-
- The page you requested is no longer active.
-
- There is a typographic - error in the link, in case you entered the URL into the browser's address - toolbar.
-
-
- - - -
url $uri
referer$referer
- "; - - $fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ; - include ( $fileHeader); -?> +. + * + * For more information, contact Colosa Inc, 2566 Le Jeune Rd., + * Coral Gables, FL, 33134, USA, or email info@colosa.com. + * + */ +session_start(); + +if ( isset ( $_SESSION['phpFileNotFound'] ) ) { + $uri = $_SESSION['phpFileNotFound']; +} elseif ( isset ( $_GET['l'] ) ){ + $uri = htmlentities($_GET['l'], ENT_QUOTES, "UTF-8"); +} else { + $uri = 'undefined'; +} +$referer = isset ( $_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : $_SESSION['phpLastFileFound']; + +$ERROR_TEXT = "404 Not Found "; +$ERROR_DESCRIPTION = " + Your browser (or proxy) sent a request + that this server could not understand.
+
+ Possible reasons:
+ Your link is broken. This may occur when you receive + a link via email, but your client software adds line breaks, thus distorting + long URLs.
+
+ The page you requested is no longer active.
+
+ There is a typographic + error in the link, in case you entered the URL into the browser's address + toolbar.
+
+
+ + + +
url $uri
referer$referer
+ "; + +$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ; +include ( $fileHeader); +