Revert "Revert "Bug variable""

This reverts commit 6bbb602f6f.
This commit is contained in:
Fred Tempez 2023-03-14 14:29:56 +01:00
parent 18a49b9005
commit 9b21690c27
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@
## Version 12.3.02
- Amélioration de l'obfuscation.
- Supprime une variable JS injectée dans le head : baseUrlQs
## Version 12.3.01
### Améliorations :

View File

@ -1095,7 +1095,7 @@ class layout extends common
{
// Variables partagées
$vars = 'var baseUrl = ' . json_encode(helper::baseUrl(false)) . ';';
//$vars .= 'var baseUrlQs = ' . 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