Skip to content

Commit 25081b0

Browse files
committed
Fix config.php for docker
When running through docker with the command from the readme, the server name is "0.0.0.0" instead of "localhost".
1 parent 4d29d6c commit 25081b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Protokollfreie URLs (welche, die mit // beginnen), werden automatisch mit dem korrekten Protokoll ergänzt.
2525
* In diesem Fall wird auch ein SSL-Umschalt-Button im Header angezeigt
2626
*/
27-
if(@$_SERVER['SERVER_NAME'] == 'localhost')
27+
if(@$_SERVER['SERVER_NAME'] == 'localhost' || @$_SERVER['SERVER_NAME'] == '0.0.0.0')
2828
{
2929
// keine Konfiguration -> BASEURL wird automatisch erraten
3030
}

0 commit comments

Comments
 (0)