mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Guard against null or missing keys.
Signed-off-by: Lorenzo Moscati <lorenzo@moscati.page>
This commit is contained in:
parent
21fbb58c96
commit
3bb9cdf31d
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ readonly class DockerController {
|
||||||
$uri = $request->getUri();
|
$uri = $request->getUri();
|
||||||
$host = $uri->getHost();
|
$host = $uri->getHost();
|
||||||
$port = $uri->getPort();
|
$port = $uri->getPort();
|
||||||
$path = $request->getParsedBody()['base_path'];
|
$path = $request->getParsedBody()['base_path'] ?? '';
|
||||||
if ($port === 8000) {
|
if ($port === 8000) {
|
||||||
error_log('The AIO_URL-port was discovered to be 8000 which is not expected. It is now set to 443.');
|
error_log('The AIO_URL-port was discovered to be 8000 which is not expected. It is now set to 443.');
|
||||||
$port = 443;
|
$port = 443;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue