Skip to content

Commit a9156a8

Browse files
committed
1 parent 801be99 commit a9156a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

upload/system/startup.php

+4
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ function clean($data) {
6969
}
7070
}
7171

72+
if (!isset($_SERVER['HTTP_HOST'])) {
73+
$_SERVER['HTTP_HOST'] = getenv('HTTP_HOST');
74+
}
75+
7276
// Helper
7377
require_once(DIR_SYSTEM . 'helper/json.php');
7478
require_once(DIR_SYSTEM . 'helper/utf8.php');

0 commit comments

Comments
 (0)