Skip to content

Commit e81545f

Browse files
committed
should fix timezone bug, closes pterodactyl#63
1 parent cad5b8c commit e81545f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ APP_ENV=production
22
APP_DEBUG=false
33
APP_KEY=SomeRandomString3232RandomString
44
APP_THEME=default
5+
APP_TIMEZONE=UTC
56

67
DB_HOST=localhost
78
DB_PORT=3306

config/app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
|
3131
*/
3232

33-
'url' => ENV('APP_URL', 'http://localhost'),
33+
'url' => env('APP_URL', 'http://localhost'),
3434

3535
/*
3636
|--------------------------------------------------------------------------
@@ -43,7 +43,7 @@
4343
|
4444
*/
4545

46-
'timezone' => ENV('APP_TIMEZONE', 'UTC'),
46+
'timezone' => env('APP_TIMEZONE', 'UTC'),
4747

4848
/*
4949
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)