Skip to content

Commit

Permalink
check host set up
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Nov 12, 2024
1 parent e9994b1 commit 284ec9b
Show file tree
Hide file tree
Showing 2 changed files with 368 additions and 503 deletions.
2 changes: 1 addition & 1 deletion app/Core/Providers/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function register()
}

//Most of this is set in the config but some things aren't clear until we get here.
$app['config']->set('domain', is_array(parse_url(BASE_URL)) ? parse_url(BASE_URL)['host'] : null);
$app['config']->set('domain', is_array(parse_url(BASE_URL)) ? (parse_url(BASE_URL)['host'] ?? null) : null);

$sessionManager = new \Illuminate\Session\SessionManager($app);

Expand Down
Loading

0 comments on commit 284ec9b

Please sign in to comment.