Convert all env() calls to config() calls
This commit is contained in:
parent
e032cd5861
commit
b4df7a1bbb
10 changed files with 61 additions and 14 deletions
25
config/admin.php
Normal file
25
config/admin.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Admin Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The username of the admin account.
|
||||
*/
|
||||
|
||||
'name' => env('ADMIN_NAME'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Admin Password
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The password of the admin account.
|
||||
*/
|
||||
|
||||
'pass' => env('ADMIN_PASS'),
|
||||
|
||||
];
|
|
@ -53,6 +53,17 @@ return [
|
|||
|
||||
'url' => env('APP_URL', 'http://localhost'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Long URL
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The short URL for the application
|
||||
|
|
||||
*/
|
||||
|
||||
'longurl' => env('APP_LONGURL', 'longurl.local'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Short URL
|
||||
|
@ -62,7 +73,18 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'shorturl' => env('APP_SHORTURL', 'http://shorturl.local'),
|
||||
'shorturl' => env('APP_SHORTURL', 'shorturl.local'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Display Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The display name for the application, used for example in titles.
|
||||
|
|
||||
*/
|
||||
|
||||
'display_name' => env('DISPLAY_NAME', 'Joe Bloggs'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue