Skip to content

Commit 8bf6ffb

Browse files
committed
Update web.php
1 parent bcaf359 commit 8bf6ffb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

routes/web.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
|
1818
*/
1919

20-
// Disables routes if in Maintenance Mode
21-
if(env('MAINTENANCE_MODE') != 'true' and !file_exists(base_path("storage/MAINTENANCE"))){
22-
2320
// Prevents section below from being run by 'composer update'
2421
if(file_exists(base_path('storage/app/ISINSTALLED'))){
2522
// generates new APP KEY if no one is set
@@ -29,6 +26,9 @@
2926
if(!file_exists(base_path("config/advanced-config.php"))){copy(base_path('storage/templates/advanced-config.php'), base_path('config/advanced-config.php'));}
3027
}
3128

29+
// Disables routes if in Maintenance Mode
30+
if(env('MAINTENANCE_MODE') != 'true' and !file_exists(base_path("storage/MAINTENANCE"))){
31+
3232
//Changes the homepage to a LittleLink Custom profile if set in the config
3333
if(config('advanced-config.custom_home_url') != '') {
3434
$custom_home_page_url = config('advanced-config.custom_home_url');

0 commit comments

Comments
 (0)