Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
now using config() calls instead of env() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaishiyoku committed Nov 14, 2020
1 parent 918cd86 commit a1edbcd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

'contact_mail_address' => env('CONTACT_MAIL_ADDRESS'),

'author' => env('AUTHOR'),

'version_number' => env('VERSION_NUMBER'),

/*
|--------------------------------------------------------------------------
| Application Environment
Expand Down
6 changes: 3 additions & 3 deletions resources/views/emails/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
<div class="footer">
{{ getYearsFrom(2017) }},

{{ env('AUTHOR') }},
{{ config('app.author') }},

v{{ env('VERSION_NUMBER') }}
v{{ config('app.version_number') }}

@yield('footer')
</div>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion resources/views/home/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</div>

<div class="py-8">
<span class="pl-2 pr-2">v{{ env('VERSION_NUMBER') }}</span>
<span class="pl-2 pr-2">v{{ config('app.version_number') }}</span>
{{ Html::link('https://github.com/kaishiyoku/Crystal-RSS', 'GitHub', ['class' => 'text-primary-900 hover:text-black uppercase pl-2 pr-2 transition-all duration-200']) }}
{{ Html::linkRoute('home.imprint', __('common.nav.imprint'), null, ['class' => 'text-primary-900 hover:text-black uppercase pl-2 pr-2 transition-all duration-200']) }}
{{ Html::linkRoute('home.contact', __('common.nav.contact'), null, ['class' => 'text-primary-900 hover:text-black uppercase pl-2 pr-2 transition-all duration-200']) }}
Expand Down
6 changes: 3 additions & 3 deletions resources/views/shared/_footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<div class="text-muted">
{{ getYearsFrom(2017) }},

{{ env('AUTHOR') }},
{{ config('app.author') }},

v{{ env('VERSION_NUMBER') }}
v{{ config('app.version_number') }}
</div>
</footer>
</footer>

0 comments on commit a1edbcd

Please sign in to comment.