Revert "Bug variable"

This reverts commit bfde3e6be9.
This commit is contained in:
Fred Tempez 2023-03-14 13:56:53 +01:00
parent bfde3e6be9
commit 6bbb602f6f

View File

@ -1095,7 +1095,7 @@ class layout extends common
{
// Variables partagées
$vars = 'var baseUrl = ' . json_encode(helper::baseUrl(false)) . ';';
$vars .= 'var baseUrl = ' . json_encode(helper::baseUrl()) . ';';
$vars .= 'var baseUrlQs = ' . json_encode(helper::baseUrl()) . ';';
if (
$this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')
and $this->getUser('group') >= self::GROUP_MODERATOR