Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
laravel-adminpanel
Commits
1cb96da9
Unverified
Commit
1cb96da9
authored
Mar 08, 2018
by
Viral Solani
Committed by
GitHub
Mar 08, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #153 from viralsolani/analysis-Xl1K7d
Apply fixes from StyleCI
parents
82c9a80c
78a8deae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
TrustProxies.php
app/Http/Middleware/TrustProxies.php
+1
-1
logging.php
config/logging.php
+12
-12
LogViewerRouteTest.php
tests/Feature/Backend/LogViewerRouteTest.php
+2
-2
No files found.
app/Http/Middleware/TrustProxies.php
View file @
1cb96da9
...
...
@@ -2,8 +2,8 @@
namespace
App\Http\Middleware
;
use
Illuminate\Http\Request
;
use
Fideloper\Proxy\TrustProxies
as
Middleware
;
use
Illuminate\Http\Request
;
/**
* Class TrustProxies.
...
...
config/logging.php
View file @
1cb96da9
...
...
@@ -31,39 +31,39 @@ return [
'channels'
=>
[
'stack'
=>
[
'driver'
=>
'stack'
,
'driver'
=>
'stack'
,
'channels'
=>
[
'single'
],
],
'single'
=>
[
'driver'
=>
'single'
,
'path'
=>
storage_path
(
'logs/laravel.log'
),
'level'
=>
'debug'
,
'path'
=>
storage_path
(
'logs/laravel.log'
),
'level'
=>
'debug'
,
],
'daily'
=>
[
'driver'
=>
'daily'
,
'path'
=>
storage_path
(
'logs/laravel.log'
),
'level'
=>
'debug'
,
'days'
=>
7
,
'path'
=>
storage_path
(
'logs/laravel.log'
),
'level'
=>
'debug'
,
'days'
=>
7
,
],
'slack'
=>
[
'driver'
=>
'slack'
,
'url'
=>
env
(
'LOG_SLACK_WEBHOOK_URL'
),
'driver'
=>
'slack'
,
'url'
=>
env
(
'LOG_SLACK_WEBHOOK_URL'
),
'username'
=>
'Laravel Log'
,
'emoji'
=>
':boom:'
,
'level'
=>
'critical'
,
'emoji'
=>
':boom:'
,
'level'
=>
'critical'
,
],
'syslog'
=>
[
'driver'
=>
'syslog'
,
'level'
=>
'debug'
,
'level'
=>
'debug'
,
],
'errorlog'
=>
[
'driver'
=>
'errorlog'
,
'level'
=>
'debug'
,
'level'
=>
'debug'
,
],
],
...
...
tests/Feature/Backend/LogViewerRouteTest.php
View file @
1cb96da9
...
...
@@ -25,7 +25,7 @@ class LogViewerRouteTest extends BrowserKitTestCase
->
see
(
'Logs'
);
}
/*
*
@test **/
/* @test **/
/*public function admin_users_can_see_logviewer_single_date()
{
$this->actingAs($this->admin)
...
...
@@ -33,7 +33,7 @@ class LogViewerRouteTest extends BrowserKitTestCase
->see('Log ['.date('Y-m-d').']');
}*/
/*
*
@test **/
/* @test **/
/*public function admin_users_can_see_logviewer_single_date_type()
{
$this->actingAs($this->admin)
...
...
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