mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-10 01:04:41 +01:00
Update web.php
This commit is contained in:
parent
bcaf3593b9
commit
8bf6ffb837
@ -17,9 +17,6 @@ use App\Http\Controllers\UserController;
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Disables routes if in Maintenance Mode
|
|
||||||
if(env('MAINTENANCE_MODE') != 'true' and !file_exists(base_path("storage/MAINTENANCE"))){
|
|
||||||
|
|
||||||
// Prevents section below from being run by 'composer update'
|
// Prevents section below from being run by 'composer update'
|
||||||
if(file_exists(base_path('storage/app/ISINSTALLED'))){
|
if(file_exists(base_path('storage/app/ISINSTALLED'))){
|
||||||
// generates new APP KEY if no one is set
|
// generates new APP KEY if no one is set
|
||||||
@ -29,6 +26,9 @@ if(file_exists(base_path('storage/app/ISINSTALLED'))){
|
|||||||
if(!file_exists(base_path("config/advanced-config.php"))){copy(base_path('storage/templates/advanced-config.php'), base_path('config/advanced-config.php'));}
|
if(!file_exists(base_path("config/advanced-config.php"))){copy(base_path('storage/templates/advanced-config.php'), base_path('config/advanced-config.php'));}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Disables routes if in Maintenance Mode
|
||||||
|
if(env('MAINTENANCE_MODE') != 'true' and !file_exists(base_path("storage/MAINTENANCE"))){
|
||||||
|
|
||||||
//Changes the homepage to a LittleLink Custom profile if set in the config
|
//Changes the homepage to a LittleLink Custom profile if set in the config
|
||||||
if(config('advanced-config.custom_home_url') != '') {
|
if(config('advanced-config.custom_home_url') != '') {
|
||||||
$custom_home_page_url = config('advanced-config.custom_home_url');
|
$custom_home_page_url = config('advanced-config.custom_home_url');
|
||||||
|
Loading…
Reference in New Issue
Block a user