mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-15 03:34:01 +01:00
fef2e09aa9
LittleLink Custom now includes an .env config editor. This editor can be accessed via the Admin Panel under Admin>Config. This editor allows admins to edit, backup, download and upload the .env configuration file. All in all, the new feature, allows users to more easily edit the configuration file, contributing to my goal of making LittleLink Custom easier to use. Read more about this topic on the Blog https://blog.littlelink-custom.com/built-in-config-editor
47 lines
1.5 KiB
PHP
47 lines
1.5 KiB
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Files Config
|
|
|--------------------------------------------------------------------------
|
|
*/
|
|
'paths' => [
|
|
// .env file directory
|
|
'env' => base_path(),
|
|
//backup files directory
|
|
'backupDirectory' => 'backups',
|
|
],
|
|
// .env file name
|
|
'envFileName' => '.env',
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Routes group config
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
'route' => [
|
|
// Prefix url for route Group
|
|
'prefix' => 'env-editor',
|
|
// Routes base name
|
|
'name' => 'env-editor',
|
|
// Middleware(s) applied on route Group
|
|
'middleware' => ['web', 'admin'],
|
|
],
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
| Time Format for Views and parsed backups
|
|
| ------------------------------------------------------------------------------------------------
|
|
*/
|
|
'timeFormat' => 'd/m/Y H:i:s',
|
|
|
|
/* ------------------------------------------------------------------------------------------------
|
|
| Set Views options
|
|
| ------------------------------------------------------------------------------------------------
|
|
| Here you can set The "extends" blade of index.blade.php
|
|
*/
|
|
'layout' => 'env-editor::layout',
|
|
|
|
];
|