parent
4ec66908b2
commit
aac19d17f4
58
.env
58
.env
|
@ -1,48 +1,48 @@
|
|||
#Email verification=Changes if users have to verify their email after registration.
|
||||
#=Register_auth either auth or verified. If auth is selected, no verification is required. Default is verified.
|
||||
Register_auth=verified
|
||||
#=REGISTER_AUTH either auth or verified. If auth is selected, no verification is required. Default is verified.
|
||||
REGISTER_AUTH=verified
|
||||
|
||||
#Internal notifications=Notify if update is available or and event is happening such as a poll about the future of this project.
|
||||
Notify_events=true
|
||||
Notify_updates=true
|
||||
NOTIFY_EVENTS=true
|
||||
NOTIFY_UPDATES=true
|
||||
|
||||
#App Settings=Changes settings regarding your LittleLink Custom installation. You probably only want to change the App Name setting.
|
||||
#=App_Name changes the displayed name for the App in the title, for example.
|
||||
App_Name="LittleLink Custom"
|
||||
APP_NAME="LittleLink Custom"
|
||||
APP_KEY=
|
||||
App_URL=
|
||||
APP_URL=
|
||||
|
||||
#Debug Settings=Changes if your page should display a full error description instead of a generic error 500
|
||||
#=App_debug either true or false. You might want to change this to false after you're done installing, but it's very useful for troubleshooting.
|
||||
App_debug=true
|
||||
APP_DEBUG=true
|
||||
#=App_env either local or production. Change this to production if you set the value above to false
|
||||
App_env=local
|
||||
Log_channel=stack
|
||||
Log_level=debug
|
||||
APP_ENV=local
|
||||
LOG_CHANNEL=stack
|
||||
LOG_LEVEL=debug
|
||||
|
||||
#Database Settings=Should be left alone. If you wish to use mysql you'd have to seed the database again.
|
||||
DB_connection=sqlite
|
||||
DB_CONNECTION=sqlite
|
||||
|
||||
#Mail Settings=LittleLink Custom comes with a free to use built-in SMTP server for sending mail. You can leave this setting as is, if you wish to use this service please read our terms and conditions at llc-mail.tru.io. If you do not wish to use the built-in SMTP server, change the setting below
|
||||
#=Mail_mailer either smtp or built-in. Make sure to change this setting if you want to add a custom SMTP server.
|
||||
Mail_mailer=built-in
|
||||
Mail_host=
|
||||
Mail_port=
|
||||
Mail_username=
|
||||
Mail_password=
|
||||
Mail_encryption=
|
||||
Mail_from_address=
|
||||
Mail_from_name="${app_name}"
|
||||
#=MAIL_MAILER either smtp or built-in. Make sure to change this setting if you want to add a custom SMTP server.
|
||||
MAIL_MAILER=built-in
|
||||
MAIL_HOST=
|
||||
MAIL_PORT=
|
||||
MAIL_USERNAME=
|
||||
MAIL_PASSWORD=
|
||||
MAIL_ENCRYPTION=
|
||||
MAIL_FROM_ADDRESS=
|
||||
MAIL_FROM_NAME="${app_name}"
|
||||
|
||||
#Cache Settings=Completely optional
|
||||
Memcached_host=127.0.0.1
|
||||
Redis_host=127.0.0.1
|
||||
Redis_password=null
|
||||
Redis_port=6379
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
#Miscellaneous Settings=Should be left alone if you don't know what you're doing.
|
||||
Broadcast_driver=log
|
||||
Cache_driver=file
|
||||
Queue_connection=sync
|
||||
Session_driver=file
|
||||
Session_lifetime=120
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
QUEUE_CONNECTION=sync
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
|
|
|
@ -20,6 +20,7 @@ class AdminSeeder extends Seeder
|
|||
[
|
||||
'name' => 'admin',
|
||||
'email' => 'admin@admin.com',
|
||||
'email_verified_at' => '0000-00-00 00:00:00',
|
||||
'password' => Hash::make('12345678'),
|
||||
'role' => 'admin',
|
||||
'littlelink_name' => 'admin',
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
<div class="row">
|
||||
|
||||
<! –– #### begin update detection #### ––>
|
||||
@if(env('Notify_updates') === true)
|
||||
@if(env('NOTIFY_UPDATES') === true)
|
||||
<?php // Checks if URL exists
|
||||
try {
|
||||
function URL_exists(string $url): bool
|
||||
|
@ -193,7 +193,7 @@
|
|||
$EventServerExists = "false";
|
||||
}
|
||||
?>
|
||||
@if(env('Notify_events') === true and $EventServerExists == 'true')
|
||||
@if(env('NOTIFY_EVENTS') === true and $EventServerExists == 'true')
|
||||
<?php
|
||||
$GetEventJson = file_get_contents("https://julianprieber.github.io/littlelink-custom-events/event.json");
|
||||
$EventJson = json_decode($GetEventJson, true);
|
||||
|
@ -221,7 +221,7 @@
|
|||
</nav>
|
||||
@endif
|
||||
@endif
|
||||
@if(env('Notify_events') === false and auth()->user()->role == 'admin')
|
||||
@if(env('NOTIFY_EVENTS') === false and auth()->user()->role == 'admin')
|
||||
<a href="{{ url('env-editor') }}" id="notify" style="color:#F75D59; font-weight:600; font-size:120%; background-color:#F5FFFA;"></a>
|
||||
<script>
|
||||
if(localStorage.getItem("firstTime")==null){
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
@if(env('Notify_events') === false)
|
||||
@if(env('NOTIFY_EVENTS') === false)
|
||||
<br><br>
|
||||
<a style="color:#ffbb39; font-weight:300; font-size:120%;">You currently have Event Notifications disabled. To get notified about polls, possible security vulnerabilities or important news, change the setting <code>Notify_events</code> below to <code>true</code>. If you enable this and an event is happening, a small text will pop up on your Admin Panel which will only be visible for admins.</a>
|
||||
<a style="color:#ffbb39; font-weight:300; font-size:120%;">You currently have Event Notifications disabled. To get notified about polls, possible security vulnerabilities or important news, change the setting <code>NOTIFY_EVENTS</code> below to <code>true</code>. If you enable this and an event is happening, a small text will pop up on your Admin Panel which will only be visible for admins.</a>
|
||||
@endif
|
||||
|
||||
<div class="tab-content" id="nav-tabContent">
|
||||
|
|
|
@ -1,48 +1,48 @@
|
|||
#Email verification=Changes if users have to verify their email after registration.
|
||||
#=Register_auth either auth or verified. If auth is selected, no verification is required. Default is verified.
|
||||
Register_auth=verified
|
||||
#=REGISTER_AUTH either auth or verified. If auth is selected, no verification is required. Default is verified.
|
||||
REGISTER_AUTH=verified
|
||||
|
||||
#Internal notifications=Notify if update is available or and event is happening such as a poll about the future of this project.
|
||||
Notify_events=true
|
||||
Notify_updates=true
|
||||
NOTIFY_EVENTS=true
|
||||
NOTIFY_UPDATES=true
|
||||
|
||||
#App Settings=Changes settings regarding your LittleLink Custom installation. You probably only want to change the App Name setting.
|
||||
#=App_Name changes the displayed name for the App in the title, for example.
|
||||
App_Name="LittleLink Custom"
|
||||
APP_NAME="LittleLink Custom"
|
||||
APP_KEY=base64:YOU+MUST+CHANGE+THIS+YUFukELiN6Bk9gQ19+9zwk=
|
||||
App_URL=
|
||||
APP_URL=
|
||||
|
||||
#Debug Settings=Changes if your page should display a full error description instead of a generic error 500
|
||||
#=App_debug either true or false. You might want to change this to false after you're done installing, but it's very useful for troubleshooting.
|
||||
App_debug=true
|
||||
APP_DEBUG=true
|
||||
#=App_env either local or production. Change this to production if you set the value above to false
|
||||
App_env=local
|
||||
Log_channel=stack
|
||||
Log_level=debug
|
||||
APP_ENV=local
|
||||
LOG_CHANNEL=stack
|
||||
LOG_LEVEL=debug
|
||||
|
||||
#Database Settings=Should be left alone. If you wish to use mysql you'd have to seed the database again.
|
||||
DB_connection=sqlite
|
||||
DB_CONNECTION=sqlite
|
||||
|
||||
#Mail Settings=LittleLink Custom comes with a free to use built-in SMTP server for sending mail. You can leave this setting as is, if you wish to use this service please read our terms and conditions at llc-mail.tru.io. If you do not wish to use the built-in SMTP server, change the setting below
|
||||
#=Mail_mailer either smtp or built-in. Make sure to change this setting if you want to add a custom SMTP server.
|
||||
Mail_mailer=built-in
|
||||
Mail_host=
|
||||
Mail_port=
|
||||
Mail_username=
|
||||
Mail_password=
|
||||
Mail_encryption=
|
||||
Mail_from_address=
|
||||
Mail_from_name="${app_name}"
|
||||
#=MAIL_MAILER either smtp or built-in. Make sure to change this setting if you want to add a custom SMTP server.
|
||||
MAIL_MAILER=built-in
|
||||
MAIL_HOST=
|
||||
MAIL_PORT=
|
||||
MAIL_USERNAME=
|
||||
MAIL_PASSWORD=
|
||||
MAIL_ENCRYPTION=
|
||||
MAIL_FROM_ADDRESS=
|
||||
MAIL_FROM_NAME="${app_name}"
|
||||
|
||||
#Cache Settings=Completely optional
|
||||
Memcached_host=127.0.0.1
|
||||
Redis_host=127.0.0.1
|
||||
Redis_password=null
|
||||
Redis_port=6379
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
#Miscellaneous Settings=Should be left alone if you don't know what you're doing.
|
||||
Broadcast_driver=log
|
||||
Cache_driver=file
|
||||
Queue_connection=sync
|
||||
Session_driver=file
|
||||
Session_lifetime=120
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
QUEUE_CONNECTION=sync
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
|
|
Loading…
Reference in New Issue