Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
4fc4d040
Commit
4fc4d040
authored
Jul 11, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved error exception view.
parent
54311a41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
38 deletions
+75
-38
exception.php
system/views/exception.php
+75
-38
No files found.
system/views/exception.php
View file @
4fc4d040
...
@@ -2,64 +2,101 @@
...
@@ -2,64 +2,101 @@
<html>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<title>
Laravel -
Error
</title>
<title>
Laravel -
<?php
echo
$severity
;
?>
</title>
<link
href=
'http://fonts.googleapis.com/css?family=Ubuntu&subset=latin'
rel=
'stylesheet'
type=
'text/css'
>
<link
href=
"http://fonts.googleapis.com/css?family=Quattrocento&v1"
rel=
"stylesheet"
type=
"text/css"
media=
"all"
/>
<link
href=
"http://fonts.googleapis.com/css?family=Ubuntu&v1"
rel=
"stylesheet"
type=
"text/css"
media=
"all"
/>
<link
href=
"http://fonts.googleapis.com/css?family=Lobster+Two&v1"
rel=
"stylesheet"
type=
"text/css"
media=
"all"
/>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
body
{
body
{
background-color
:
#fff
;
background-color
:
#eee
;
font-family
:
'Ubuntu'
,
sans-serif
;
color
:
#6d6d6d
;
font-size
:
18px
;
font-family
:
'Ubuntu'
;
color
:
#3f3f3f
;
font-size
:
15px
;
padding
:
10px
;
}
}
h1
{
h1
.laravel
{
font-family
:
'
Ubuntu'
,
sans-serif
;
font-family
:
'
Lobster Two'
,
Helvetica
,
serif
;
font-size
:
45
px
;
font-size
:
60
px
;
color
:
#6d6d6d
;
margin
:
0
0
15px
-10px
;
margin
:
0
0
10px
0
;
padding
:
0
;
text-shadow
:
1px
1px
#000
;
text-shadow
:
-1px
1px
1px
#fff
;
}
}
h3
{
h2
{
color
:
#6d6d6d
;
font-family
:
'Quattrocento'
,
serif
;
margin
:
0
0
10px
0
;
font-size
:
30px
;
margin
:
30px
0
0
0
;
padding
:
0
;
text-shadow
:
-1px
1px
1px
#fff
;
}
p
{
margin
:
10px
0
0
0
;
line-height
:
25px
;
}
}
pre
{
pre
{
font-size
:
14px
;
font-size
:
12px
;
margin
:
0
0
0
0
;
padding
:
0
0
0
0
;
}
}
#wrapper
{
pre
.context
{
width
:
100%
;
margin
:
0
;
padding
:
0
;
}
}
div
.content
{
.strong
{
padding
:
10px
10px
10px
10px
;
font-weight
:
bold
;
background-color
:
#eee
;
color
:
#990000
;
}
#wrapper
{
background-color
:
#fff
;
border-radius
:
10px
;
border-radius
:
10px
;
margin-bottom
:
10px
;
margin
:
0
auto
;
padding
:
10px
;
width
:
80%
;
}
#wrapper
h2
:first-of-type
{
margin-top
:
0
;
}
#header
{
margin
:
0
auto
;
margin-bottom
:
15px
;
margin-top
:
20px
;
width
:
80%
;
}
}
</style>
</style>
</head>
</head>
<body>
<body>
<div
id=
"header"
>
<h1
class=
"laravel"
>
<?php
echo
$severity
;
?>
</h1>
</div>
<div
id=
"wrapper"
>
<div
id=
"wrapper"
>
<h
1>
<?php
echo
$severity
;
?>
</h1>
<h
2>
Message:
</h2>
<div
class=
"content"
>
<p>
<?php
echo
$message
;
?>
in
<strong>
<?php
echo
basename
(
$file
);
?>
</strong>
on line
<strong>
<?php
echo
$line
;
?>
</strong>
.
</p>
<h3>
Message:
</h3>
<?php
echo
$message
;
?>
in
<strong>
<?php
echo
basename
(
$file
);
?>
</strong>
on line
<strong>
<?php
echo
$line
;
?>
</strong>
.
</div>
<div
class=
"content"
>
<h2>
Stack Trace:
</h2>
<h3>
Stack Trace:
</h3>
<pre>
<?php
echo
$trace
;
?>
</pre>
<pre>
<?php
echo
$trace
;
?>
</pre>
</div>
<h2>
Snapshot:
</h2>
<p>
<?php
if
(
count
(
$contexts
)
>
0
)
:
?>
<?php
foreach
(
$contexts
as
$num
=>
$context
)
:
?>
<pre
class=
"context
<?php
echo
(
$line
==
$num
)
?
'strong'
:
''
;
?>
"
>
<?php
echo
htmlentities
(
$num
.
': '
.
$context
);
?>
</pre>
<?php
endforeach
;
?>
<?php
else
:
?>
Snapshot Unavailable.
<?php
endif
;
?>
</p>
</div>
</div>
</body>
</body>
</html>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment