-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #476 from codeigniter4projects/develop
Deploy
- Loading branch information
Showing
24 changed files
with
1,504 additions
and
710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| ERROR DISPLAY | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title><?= lang('Errors.badRequest') ?></title> | ||
|
||
<style> | ||
div.logo { | ||
height: 200px; | ||
width: 155px; | ||
display: inline-block; | ||
opacity: 0.08; | ||
position: absolute; | ||
top: 2rem; | ||
left: 50%; | ||
margin-left: -73px; | ||
} | ||
body { | ||
height: 100%; | ||
background: #fafafa; | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
color: #777; | ||
font-weight: 300; | ||
} | ||
h1 { | ||
font-weight: lighter; | ||
letter-spacing: normal; | ||
font-size: 3rem; | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
color: #222; | ||
} | ||
.wrap { | ||
max-width: 1024px; | ||
margin: 5rem auto; | ||
padding: 2rem; | ||
background: #fff; | ||
text-align: center; | ||
border: 1px solid #efefef; | ||
border-radius: 0.5rem; | ||
position: relative; | ||
} | ||
pre { | ||
white-space: normal; | ||
margin-top: 1.5rem; | ||
} | ||
code { | ||
background: #fafafa; | ||
border: 1px solid #efefef; | ||
padding: 0.5rem 1rem; | ||
border-radius: 5px; | ||
display: block; | ||
} | ||
p { | ||
margin-top: 1.5rem; | ||
} | ||
.footer { | ||
margin-top: 2rem; | ||
border-top: 1px solid #efefef; | ||
padding: 1em 2em 0 2em; | ||
font-size: 85%; | ||
color: #999; | ||
} | ||
a:active, | ||
a:link, | ||
a:visited { | ||
color: #dd4814; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="wrap"> | ||
<h1>400</h1> | ||
|
||
<p> | ||
<?php if (ENVIRONMENT !== 'production') : ?> | ||
<?= nl2br(esc($message)) ?> | ||
<?php else : ?> | ||
<?= lang('Errors.sorryBadRequest') ?> | ||
<?php endif; ?> | ||
</p> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.