diff options
Diffstat (limited to 'system/application/errors')
-rw-r--r-- | system/application/errors/error_404.php | 68 | ||||
-rw-r--r-- | system/application/errors/error_db.php | 66 | ||||
-rw-r--r-- | system/application/errors/error_general.php | 66 | ||||
-rw-r--r-- | system/application/errors/error_php.php | 18 | ||||
-rw-r--r-- | system/application/errors/index.html | 18 |
5 files changed, 118 insertions, 118 deletions
diff --git a/system/application/errors/error_404.php b/system/application/errors/error_404.php index cad737596..bfe9444b2 100644 --- a/system/application/errors/error_404.php +++ b/system/application/errors/error_404.php @@ -1,35 +1,35 @@ -<?php header("HTTP/1.1 404 Not Found"); ?>
-<html>
-<head>
-<title>404 Page Not Found</title>
-<style type="text/css">
-
-body {
-background-color: #fff;
-margin: 40px;
-font-family: Lucida Grande, Verdana, Sans-serif;
-font-size: 12px;
-color: #000;
-}
-
-#content {
-border: #999 1px solid;
-background-color: #fff;
-padding: 20px 20px 12px 20px;
-}
-
-h1 {
-font-weight: normal;
-font-size: 14px;
-color: #990000;
-margin: 0 0 4px 0;
-}
-</style>
-</head>
-<body>
- <div id="content">
- <h1><?php echo $heading; ?></h1>
- <?php echo $message; ?>
- </div>
-</body>
+<?php header("HTTP/1.1 404 Not Found"); ?> +<html> +<head> +<title>404 Page Not Found</title> +<style type="text/css"> + +body { +background-color: #fff; +margin: 40px; +font-family: Lucida Grande, Verdana, Sans-serif; +font-size: 12px; +color: #000; +} + +#content { +border: #999 1px solid; +background-color: #fff; +padding: 20px 20px 12px 20px; +} + +h1 { +font-weight: normal; +font-size: 14px; +color: #990000; +margin: 0 0 4px 0; +} +</style> +</head> +<body> + <div id="content"> + <h1><?php echo $heading; ?></h1> + <?php echo $message; ?> + </div> +</body> </html>
\ No newline at end of file diff --git a/system/application/errors/error_db.php b/system/application/errors/error_db.php index 71a4b98d8..1ce52dfc9 100644 --- a/system/application/errors/error_db.php +++ b/system/application/errors/error_db.php @@ -1,34 +1,34 @@ -<html>
-<head>
-<title>Database Error</title>
-<style type="text/css">
-
-body {
-background-color: #fff;
-margin: 40px;
-font-family: Lucida Grande, Verdana, Sans-serif;
-font-size: 12px;
-color: #000;
-}
-
-#content {
-border: #999 1px solid;
-background-color: #fff;
-padding: 20px 20px 12px 20px;
-}
-
-h1 {
-font-weight: normal;
-font-size: 14px;
-color: #990000;
-margin: 0 0 4px 0;
-}
-</style>
-</head>
-<body>
- <div id="content">
- <h1><?php echo $heading; ?></h1>
- <?php echo $message; ?>
- </div>
-</body>
+<html> +<head> +<title>Database Error</title> +<style type="text/css"> + +body { +background-color: #fff; +margin: 40px; +font-family: Lucida Grande, Verdana, Sans-serif; +font-size: 12px; +color: #000; +} + +#content { +border: #999 1px solid; +background-color: #fff; +padding: 20px 20px 12px 20px; +} + +h1 { +font-weight: normal; +font-size: 14px; +color: #990000; +margin: 0 0 4px 0; +} +</style> +</head> +<body> + <div id="content"> + <h1><?php echo $heading; ?></h1> + <?php echo $message; ?> + </div> +</body> </html>
\ No newline at end of file diff --git a/system/application/errors/error_general.php b/system/application/errors/error_general.php index 8545286f9..d8610702b 100644 --- a/system/application/errors/error_general.php +++ b/system/application/errors/error_general.php @@ -1,34 +1,34 @@ -<html>
-<head>
-<title>Error</title>
-<style type="text/css">
-
-body {
-background-color: #fff;
-margin: 40px;
-font-family: Lucida Grande, Verdana, Sans-serif;
-font-size: 12px;
-color: #000;
-}
-
-#content {
-border: #999 1px solid;
-background-color: #fff;
-padding: 20px 20px 12px 20px;
-}
-
-h1 {
-font-weight: normal;
-font-size: 14px;
-color: #990000;
-margin: 0 0 4px 0;
-}
-</style>
-</head>
-<body>
- <div id="content">
- <h1><?php echo $heading; ?></h1>
- <?php echo $message; ?>
- </div>
-</body>
+<html> +<head> +<title>Error</title> +<style type="text/css"> + +body { +background-color: #fff; +margin: 40px; +font-family: Lucida Grande, Verdana, Sans-serif; +font-size: 12px; +color: #000; +} + +#content { +border: #999 1px solid; +background-color: #fff; +padding: 20px 20px 12px 20px; +} + +h1 { +font-weight: normal; +font-size: 14px; +color: #990000; +margin: 0 0 4px 0; +} +</style> +</head> +<body> + <div id="content"> + <h1><?php echo $heading; ?></h1> + <?php echo $message; ?> + </div> +</body> </html>
\ No newline at end of file diff --git a/system/application/errors/error_php.php b/system/application/errors/error_php.php index f5941c96f..f085c2037 100644 --- a/system/application/errors/error_php.php +++ b/system/application/errors/error_php.php @@ -1,10 +1,10 @@ -<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
-
-<h4>A PHP Error was encountered</h4>
-
-<p>Severity: <?php echo $severity; ?></p>
-<p>Message: <?php echo $message; ?></p>
-<p>Filename: <?php echo $filepath; ?></p>
-<p>Line Number: <?php echo $line; ?></p>
-
+<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;"> + +<h4>A PHP Error was encountered</h4> + +<p>Severity: <?php echo $severity; ?></p> +<p>Message: <?php echo $message; ?></p> +<p>Filename: <?php echo $filepath; ?></p> +<p>Line Number: <?php echo $line; ?></p> + </div>
\ No newline at end of file diff --git a/system/application/errors/index.html b/system/application/errors/index.html index 065d2da5e..c942a79ce 100644 --- a/system/application/errors/index.html +++ b/system/application/errors/index.html @@ -1,10 +1,10 @@ -<html>
-<head>
- <title>403 Forbidden</title>
-</head>
-<body>
-
-<p>Directory access is forbidden.</p>
-
-</body>
+<html> +<head> + <title>403 Forbidden</title> +</head> +<body> + +<p>Directory access is forbidden.</p> + +</body> </html>
\ No newline at end of file |