Skip to content

Commit

Permalink
update config doc + sync front + dusting (#1713)
Browse files Browse the repository at this point in the history
* fix config doc + sync front
* remove unused files
  • Loading branch information
ildyria authored Jan 16, 2023
1 parent 26d9b75 commit 282e24c
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 130 deletions.
2 changes: 1 addition & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
if (config('app.db_log_sql', false) === true) {
if (config('database.db_log_sql', false) === true) {
DB::listen(function ($query) {
$msg = $query->sql . ' [' . implode(', ', $query->bindings) . ']';
Log::info($msg);
Expand Down
24 changes: 10 additions & 14 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@

'asset_url' => null,

/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| When running behind a proxy, it may be necessary for the urls to be
| set as https for the reverse translation. You should set this if you
| want to force the https scheme.
*/

'force_https' => (bool) env('APP_FORCE_HTTPS', false),

/*
Expand Down Expand Up @@ -123,20 +133,6 @@

'faker_locale' => 'en_US',

/*
|--------------------------------------------------------------------------
| Log DB SQL statements
|--------------------------------------------------------------------------
|
| If set to true, all SQL statements will be logged to a text file below
| storage.
| Only use it for debugging and development purposes as it slows down
| the performance of the application
|
*/

'db_log_sql' => (bool) env('DB_LOG_SQL', false),

/*
|--------------------------------------------------------------------------
| Skip diagnostics checks
Expand Down
14 changes: 14 additions & 0 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@

'default' => env('DB_CONNECTION', 'mysql'),

/*
|--------------------------------------------------------------------------
| Log DB SQL statements
|--------------------------------------------------------------------------
|
| If set to true, all SQL statements will be logged to a text file below
| storage.
| Only use it for debugging and development purposes as it slows down
| the performance of the application
|
*/

'db_log_sql' => (bool) env('DB_LOG_SQL', false),

/*
|--------------------------------------------------------------------------
| Database Connections
Expand Down
2 changes: 1 addition & 1 deletion public/dist/frontend.css

Large diffs are not rendered by default.

20 changes: 13 additions & 7 deletions public/dist/frontend.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 0 additions & 36 deletions resources/views/vendor/feed2/atom.blade.php

This file was deleted.

1 change: 0 additions & 1 deletion resources/views/vendor/feed2/feed.blade.php

This file was deleted.

37 changes: 0 additions & 37 deletions resources/views/vendor/feed2/json.blade.php

This file was deleted.

3 changes: 0 additions & 3 deletions resources/views/vendor/feed2/links.blade.php

This file was deleted.

29 changes: 0 additions & 29 deletions resources/views/vendor/feed2/rss.blade.php

This file was deleted.

0 comments on commit 282e24c

Please sign in to comment.