Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 5702843

Browse files
authored
lib(config): Webserver IP should not contain subfolder
1 parent 74d200a commit 5702843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
} else {
165165
$protocol = 'http://';
166166
}
167-
$config['webserver']['ip'] = str_replace($protocol, '', getPhotoboothUrl());
167+
$config['webserver']['ip'] = getPhotoboothIp();
168168
}
169169

170170
if (!isset($config['qr']['url'])) {

0 commit comments

Comments
 (0)