Skip to content

Commit

Permalink
database error
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkHorseCorder committed Dec 29, 2022
1 parent 2a3b89e commit b2bc5f6
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
52 changes: 52 additions & 0 deletions project/resources/views/errors/403.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" href="{{getPhoto($gs->favicon)}}">
<title>403</title>
<style>
body {
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh
}
div {
text-align: center;
}
div img {
width: 100%;
max-width: 720px;
max-height: 640px;
object-fit: contain;
object-position: center center
}
.btn {
padding: 10px 25px;
background: #6078f2;
text-decoration: none;
color: #fff;
border-radius: 3px;
margin-top: 40px;
display: inline-block
}
</style>
</head>


<body>
<div>
<img src="{{getPhoto('403.png')}}">
<div>
<a href="{{url()->previous()}}" class="btn">@langg('Go Back')</a>
</div>
</div>
</body>

</html>
11 changes: 11 additions & 0 deletions project/resources/views/errors/500.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

@php
$actual_path = str_replace('project','',base_path());
if (is_dir($actual_path . '/install')) {
echo '<meta http-equiv="refresh" content="0; url='.url('/install').'" />';
}else{
echo '<h2>500 Internal server error!</h2>';
}
@endphp

0 comments on commit b2bc5f6

Please sign in to comment.