diff options
author | Derek Jones <derek.jones@ellislab.com> | 2010-03-25 16:08:20 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2010-03-25 16:08:20 +0100 |
commit | f0b3994f51937c643200a0547f70b1fa7d94f88a (patch) | |
tree | d30a6636bc413f9dacbccca13a3f1dd8beffa65a /application/errors | |
parent | 022be04a8262857e1bab9bf65e45817d398c31e6 (diff) |
moved application folder outside of the system folder
Diffstat (limited to 'application/errors')
-rw-r--r-- | application/errors/error_404.php | 34 | ||||
-rw-r--r-- | application/errors/error_db.php | 34 | ||||
-rw-r--r-- | application/errors/error_general.php | 34 | ||||
-rw-r--r-- | application/errors/error_php.php | 10 | ||||
-rw-r--r-- | application/errors/index.html | 10 |
5 files changed, 122 insertions, 0 deletions
diff --git a/application/errors/error_404.php b/application/errors/error_404.php new file mode 100644 index 000000000..1c513a205 --- /dev/null +++ b/application/errors/error_404.php @@ -0,0 +1,34 @@ +<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/application/errors/error_db.php b/application/errors/error_db.php new file mode 100644 index 000000000..1ce52dfc9 --- /dev/null +++ b/application/errors/error_db.php @@ -0,0 +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>
\ No newline at end of file diff --git a/application/errors/error_general.php b/application/errors/error_general.php new file mode 100644 index 000000000..d8610702b --- /dev/null +++ b/application/errors/error_general.php @@ -0,0 +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>
\ No newline at end of file diff --git a/application/errors/error_php.php b/application/errors/error_php.php new file mode 100644 index 000000000..f085c2037 --- /dev/null +++ b/application/errors/error_php.php @@ -0,0 +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>
\ No newline at end of file diff --git a/application/errors/index.html b/application/errors/index.html new file mode 100644 index 000000000..c942a79ce --- /dev/null +++ b/application/errors/index.html @@ -0,0 +1,10 @@ +<html> +<head> + <title>403 Forbidden</title> +</head> +<body> + +<p>Directory access is forbidden.</p> + +</body> +</html>
\ No newline at end of file |