SERVER_NAME -> HTTP_HOST

This commit is contained in:
flash 2015-10-16 17:37:10 +02:00
parent 5fada70fb4
commit 0865ee4eb9

View file

@ -161,7 +161,7 @@ if (!defined('SAKURA_NO_TPL')) {
'siteDesc' => Configuration::getConfig('sitedesc'),
'siteTags' => implode(", ", json_decode(Configuration::getConfig('sitetags'), true)),
'dateFormat' => Configuration::getConfig('date_format'),
'currentPage' => '//' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'],
'currentPage' => '//' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'],
'recaptchaPublic' => Configuration::getConfig('recaptcha_public'),
'recaptchaEnabled' => Configuration::getConfig('recaptcha'),