SERVER_NAME -> HTTP_HOST
This commit is contained in:
parent
5fada70fb4
commit
0865ee4eb9
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||
|
|
Reference in a new issue