parent
4ec66908b2
commit
aac19d17f4
58
.env
58
.env
|
@ -1,48 +1,48 @@
|
||||||
#Email verification=Changes if users have to verify their email after registration.
|
#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 either auth or verified. If auth is selected, no verification is required. Default is verified.
|
||||||
Register_auth=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.
|
#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_EVENTS=true
|
||||||
Notify_updates=true
|
NOTIFY_UPDATES=true
|
||||||
|
|
||||||
#App Settings=Changes settings regarding your LittleLink Custom installation. You probably only want to change the App Name setting.
|
#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 changes the displayed name for the App in the title, for example.
|
||||||
App_Name="LittleLink Custom"
|
APP_NAME="LittleLink Custom"
|
||||||
APP_KEY=
|
APP_KEY=
|
||||||
App_URL=
|
APP_URL=
|
||||||
|
|
||||||
#Debug Settings=Changes if your page should display a full error description instead of a generic error 500
|
#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 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 either local or production. Change this to production if you set the value above to false
|
||||||
App_env=local
|
APP_ENV=local
|
||||||
Log_channel=stack
|
LOG_CHANNEL=stack
|
||||||
Log_level=debug
|
LOG_LEVEL=debug
|
||||||
|
|
||||||
#Database Settings=Should be left alone. If you wish to use mysql you'd have to seed the database again.
|
#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 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 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_MAILER=built-in
|
||||||
Mail_host=
|
MAIL_HOST=
|
||||||
Mail_port=
|
MAIL_PORT=
|
||||||
Mail_username=
|
MAIL_USERNAME=
|
||||||
Mail_password=
|
MAIL_PASSWORD=
|
||||||
Mail_encryption=
|
MAIL_ENCRYPTION=
|
||||||
Mail_from_address=
|
MAIL_FROM_ADDRESS=
|
||||||
Mail_from_name="${app_name}"
|
MAIL_FROM_NAME="${app_name}"
|
||||||
|
|
||||||
#Cache Settings=Completely optional
|
#Cache Settings=Completely optional
|
||||||
Memcached_host=127.0.0.1
|
MEMCACHED_HOST=127.0.0.1
|
||||||
Redis_host=127.0.0.1
|
REDIS_HOST=127.0.0.1
|
||||||
Redis_password=null
|
REDIS_PASSWORD=null
|
||||||
Redis_port=6379
|
REDIS_PORT=6379
|
||||||
|
|
||||||
#Miscellaneous Settings=Should be left alone if you don't know what you're doing.
|
#Miscellaneous Settings=Should be left alone if you don't know what you're doing.
|
||||||
Broadcast_driver=log
|
BROADCAST_DRIVER=log
|
||||||
Cache_driver=file
|
CACHE_DRIVER=file
|
||||||
Queue_connection=sync
|
QUEUE_CONNECTION=sync
|
||||||
Session_driver=file
|
SESSION_DRIVER=file
|
||||||
Session_lifetime=120
|
SESSION_LIFETIME=120
|
||||||
|
|
|
@ -20,6 +20,7 @@ class AdminSeeder extends Seeder
|
||||||
[
|
[
|
||||||
'name' => 'admin',
|
'name' => 'admin',
|
||||||
'email' => 'admin@admin.com',
|
'email' => 'admin@admin.com',
|
||||||
|
'email_verified_at' => '0000-00-00 00:00:00',
|
||||||
'password' => Hash::make('12345678'),
|
'password' => Hash::make('12345678'),
|
||||||
'role' => 'admin',
|
'role' => 'admin',
|
||||||
'littlelink_name' => 'admin',
|
'littlelink_name' => 'admin',
|
||||||
|
|
|
@ -138,7 +138,7 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<! –– #### begin update detection #### ––>
|
<! –– #### begin update detection #### ––>
|
||||||
@if(env('Notify_updates') === true)
|
@if(env('NOTIFY_UPDATES') === true)
|
||||||
<?php // Checks if URL exists
|
<?php // Checks if URL exists
|
||||||
try {
|
try {
|
||||||
function URL_exists(string $url): bool
|
function URL_exists(string $url): bool
|
||||||
|
@ -193,7 +193,7 @@
|
||||||
$EventServerExists = "false";
|
$EventServerExists = "false";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@if(env('Notify_events') === true and $EventServerExists == 'true')
|
@if(env('NOTIFY_EVENTS') === true and $EventServerExists == 'true')
|
||||||
<?php
|
<?php
|
||||||
$GetEventJson = file_get_contents("https://julianprieber.github.io/littlelink-custom-events/event.json");
|
$GetEventJson = file_get_contents("https://julianprieber.github.io/littlelink-custom-events/event.json");
|
||||||
$EventJson = json_decode($GetEventJson, true);
|
$EventJson = json_decode($GetEventJson, true);
|
||||||
|
@ -221,7 +221,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
@endif
|
@endif
|
||||||
@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>
|
<a href="{{ url('env-editor') }}" id="notify" style="color:#F75D59; font-weight:600; font-size:120%; background-color:#F5FFFA;"></a>
|
||||||
<script>
|
<script>
|
||||||
if(localStorage.getItem("firstTime")==null){
|
if(localStorage.getItem("firstTime")==null){
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
@if(env('Notify_events') === false)
|
@if(env('NOTIFY_EVENTS') === false)
|
||||||
<br><br>
|
<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
|
@endif
|
||||||
|
|
||||||
<div class="tab-content" id="nav-tabContent">
|
<div class="tab-content" id="nav-tabContent">
|
||||||
|
|
|
@ -1,48 +1,48 @@
|
||||||
#Email verification=Changes if users have to verify their email after registration.
|
#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 either auth or verified. If auth is selected, no verification is required. Default is verified.
|
||||||
Register_auth=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.
|
#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_EVENTS=true
|
||||||
Notify_updates=true
|
NOTIFY_UPDATES=true
|
||||||
|
|
||||||
#App Settings=Changes settings regarding your LittleLink Custom installation. You probably only want to change the App Name setting.
|
#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 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_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
|
#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 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 either local or production. Change this to production if you set the value above to false
|
||||||
App_env=local
|
APP_ENV=local
|
||||||
Log_channel=stack
|
LOG_CHANNEL=stack
|
||||||
Log_level=debug
|
LOG_LEVEL=debug
|
||||||
|
|
||||||
#Database Settings=Should be left alone. If you wish to use mysql you'd have to seed the database again.
|
#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 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 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_MAILER=built-in
|
||||||
Mail_host=
|
MAIL_HOST=
|
||||||
Mail_port=
|
MAIL_PORT=
|
||||||
Mail_username=
|
MAIL_USERNAME=
|
||||||
Mail_password=
|
MAIL_PASSWORD=
|
||||||
Mail_encryption=
|
MAIL_ENCRYPTION=
|
||||||
Mail_from_address=
|
MAIL_FROM_ADDRESS=
|
||||||
Mail_from_name="${app_name}"
|
MAIL_FROM_NAME="${app_name}"
|
||||||
|
|
||||||
#Cache Settings=Completely optional
|
#Cache Settings=Completely optional
|
||||||
Memcached_host=127.0.0.1
|
MEMCACHED_HOST=127.0.0.1
|
||||||
Redis_host=127.0.0.1
|
REDIS_HOST=127.0.0.1
|
||||||
Redis_password=null
|
REDIS_PASSWORD=null
|
||||||
Redis_port=6379
|
REDIS_PORT=6379
|
||||||
|
|
||||||
#Miscellaneous Settings=Should be left alone if you don't know what you're doing.
|
#Miscellaneous Settings=Should be left alone if you don't know what you're doing.
|
||||||
Broadcast_driver=log
|
BROADCAST_DRIVER=log
|
||||||
Cache_driver=file
|
CACHE_DRIVER=file
|
||||||
Queue_connection=sync
|
QUEUE_CONNECTION=sync
|
||||||
Session_driver=file
|
SESSION_DRIVER=file
|
||||||
Session_lifetime=120
|
SESSION_LIFETIME=120
|
||||||
|
|
Loading…
Reference in New Issue