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
3ef50870
Unverified
Commit
3ef50870
authored
Nov 26, 2017
by
Viral Solani
Committed by
GitHub
Nov 26, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #41 from viralsolani/analysis-qrQ3o1
Apply fixes from StyleCI
parents
18da374e
51cfd460
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
22 deletions
+21
-22
debugbar.php
config/debugbar.php
+11
-11
generators.config.php
config/generators.config.php
+1
-2
trustedproxy.php
config/trustedproxy.php
+9
-9
No files found.
config/debugbar.php
View file @
3ef50870
...
@@ -9,13 +9,13 @@ return [
...
@@ -9,13 +9,13 @@ return [
|
|
| Debugbar is enabled by default, when debug is set to true in app.php.
| Debugbar is enabled by default, when debug is set to true in app.php.
| You can override the value by setting enable to true or false instead of null.
| You can override the value by setting enable to true or false instead of null.
|
|
| You can provide an array of URI's that must be ignored (eg. 'api/*')
| You can provide an array of URI's that must be ignored (eg. 'api/*')
|
|
*/
*/
'enabled'
=>
env
(
'DEBUGBAR_ENABLED'
,
null
),
'enabled'
=>
env
(
'DEBUGBAR_ENABLED'
,
null
),
'except'
=>
[
'except'
=>
[
//
//
],
],
...
@@ -36,7 +36,7 @@ return [
...
@@ -36,7 +36,7 @@ return [
'driver'
=>
'file'
,
// redis, file, pdo, custom
'driver'
=>
'file'
,
// redis, file, pdo, custom
'path'
=>
storage_path
(
'debugbar'
),
// For file driver
'path'
=>
storage_path
(
'debugbar'
),
// For file driver
'connection'
=>
null
,
// Leave null for default connection (Redis/PDO)
'connection'
=>
null
,
// Leave null for default connection (Redis/PDO)
'provider'
=>
''
// Instance of StorageInterface for custom driver
'provider'
=>
''
,
// Instance of StorageInterface for custom driver
],
],
/*
/*
...
@@ -66,7 +66,7 @@ return [
...
@@ -66,7 +66,7 @@ return [
| Optionally, you can also send ServerTiming headers on ajax requests for the Chrome DevTools.
| Optionally, you can also send ServerTiming headers on ajax requests for the Chrome DevTools.
*/
*/
'capture_ajax'
=>
true
,
'capture_ajax'
=>
true
,
'add_ajax_timing'
=>
false
,
'add_ajax_timing'
=>
false
,
/*
/*
...
@@ -79,7 +79,7 @@ return [
...
@@ -79,7 +79,7 @@ return [
|
|
*/
*/
'error_handler'
=>
false
,
'error_handler'
=>
false
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Clockwork integration
| Clockwork integration
...
@@ -141,26 +141,26 @@ return [
...
@@ -141,26 +141,26 @@ return [
'with_params'
=>
true
,
// Render SQL with the parameters substituted
'with_params'
=>
true
,
// Render SQL with the parameters substituted
'backtrace'
=>
true
,
// Use a backtrace to find the origin of the query in your files.
'backtrace'
=>
true
,
// Use a backtrace to find the origin of the query in your files.
'timeline'
=>
false
,
// Add the queries to the timeline
'timeline'
=>
false
,
// Add the queries to the timeline
'explain'
=>
[
// Show EXPLAIN output on queries
'explain'
=>
[
// Show EXPLAIN output on queries
'enabled'
=>
false
,
'enabled'
=>
false
,
'types'
=>
[
'SELECT'
],
// ['SELECT', 'INSERT', 'UPDATE', 'DELETE']; for MySQL 5.6.3+
'types'
=>
[
'SELECT'
],
// ['SELECT', 'INSERT', 'UPDATE', 'DELETE']; for MySQL 5.6.3+
],
],
'hints'
=>
true
,
// Show hints for common mistakes
'hints'
=>
true
,
// Show hints for common mistakes
],
],
'mail'
=>
[
'mail'
=>
[
'full_log'
=>
false
'full_log'
=>
false
,
],
],
'views'
=>
[
'views'
=>
[
'data'
=>
false
,
//Note: Can slow down the application, because the data can be quite large..
'data'
=>
false
,
//Note: Can slow down the application, because the data can be quite large..
],
],
'route'
=>
[
'route'
=>
[
'label'
=>
true
// show complete route on bar
'label'
=>
true
,
// show complete route on bar
],
],
'logs'
=>
[
'logs'
=>
[
'file'
=>
null
'file'
=>
null
,
],
],
'cache'
=>
[
'cache'
=>
[
'values'
=>
true
// collect cache values
'values'
=>
true
,
// collect cache values
],
],
],
],
...
...
config/generators.config.php
View file @
3ef50870
...
@@ -22,7 +22,6 @@ return [
...
@@ -22,7 +22,6 @@ return [
'view_template_path'
=>
base_path
(
'vendor/xethron/laravel-4-generators/src/Way/Generators/templates/view.txt'
),
'view_template_path'
=>
base_path
(
'vendor/xethron/laravel-4-generators/src/Way/Generators/templates/view.txt'
),
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Where the generated files will be saved...
| Where the generated files will be saved...
...
@@ -37,6 +36,6 @@ return [
...
@@ -37,6 +36,6 @@ return [
'seed_target_path'
=>
base_path
(
'database/seeds'
),
'seed_target_path'
=>
base_path
(
'database/seeds'
),
'view_target_path'
=>
base_path
(
'resources/views'
)
'view_target_path'
=>
base_path
(
'resources/views'
)
,
];
];
config/trustedproxy.php
View file @
3ef50870
...
@@ -32,13 +32,13 @@ return [
...
@@ -32,13 +32,13 @@ return [
* Or, to trust all proxies that connect
* Or, to trust all proxies that connect
* directly to your server, uncomment this:
* directly to your server, uncomment this:
*/
*/
#
'proxies' => '*',
//
'proxies' => '*',
/*
/*
* Or, to trust ALL proxies, including those that
* Or, to trust ALL proxies, including those that
* are in a chain of forwarding, uncomment this:
* are in a chain of forwarding, uncomment this:
*/
*/
#
'proxies' => '**',
//
'proxies' => '**',
/*
/*
* Default Header Names
* Default Header Names
...
@@ -56,16 +56,16 @@ return [
...
@@ -56,16 +56,16 @@ return [
* for them to be considered untrusted instead. Ex:
* for them to be considered untrusted instead. Ex:
*
*
* Illuminate\Http\Request::HEADER_CLIENT_HOST => null,
* Illuminate\Http\Request::HEADER_CLIENT_HOST => null,
*
*
* WARNING: If you're using AWS Elastic Load Balancing or Heroku,
* WARNING: If you're using AWS Elastic Load Balancing or Heroku,
* the FORWARDED and X_FORWARDED_HOST headers should be set to null
* the FORWARDED and X_FORWARDED_HOST headers should be set to null
* as they are currently unsupported there.
* as they are currently unsupported there.
*/
*/
'headers'
=>
[
'headers'
=>
[
(
defined
(
'Illuminate\Http\Request::HEADER_FORWARDED'
)
?
Illuminate\Http\Request
::
HEADER_FORWARDED
:
'forwarded'
)
=>
'FORWARDED'
,
(
defined
(
'Illuminate\Http\Request::HEADER_FORWARDED'
)
?
Illuminate\Http\Request
::
HEADER_FORWARDED
:
'forwarded'
)
=>
'FORWARDED'
,
Illuminate\Http\Request
::
HEADER_CLIENT_IP
=>
'X_FORWARDED_FOR'
,
Illuminate\Http\Request
::
HEADER_CLIENT_IP
=>
'X_FORWARDED_FOR'
,
Illuminate\Http\Request
::
HEADER_CLIENT_HOST
=>
'X_FORWARDED_HOST'
,
Illuminate\Http\Request
::
HEADER_CLIENT_HOST
=>
'X_FORWARDED_HOST'
,
Illuminate\Http\Request
::
HEADER_CLIENT_PROTO
=>
'X_FORWARDED_PROTO'
,
Illuminate\Http\Request
::
HEADER_CLIENT_PROTO
=>
'X_FORWARDED_PROTO'
,
Illuminate\Http\Request
::
HEADER_CLIENT_PORT
=>
'X_FORWARDED_PORT'
,
Illuminate\Http\Request
::
HEADER_CLIENT_PORT
=>
'X_FORWARDED_PORT'
,
]
]
,
];
];
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