forked from ZwiiCMS-Team/ZwiiCMS
Bug variable
This commit is contained in:
parent
839d965d82
commit
bfde3e6be9
@ -1095,7 +1095,7 @@ class layout extends common
|
|||||||
{
|
{
|
||||||
// Variables partagées
|
// Variables partagées
|
||||||
$vars = 'var baseUrl = ' . json_encode(helper::baseUrl(false)) . ';';
|
$vars = 'var baseUrl = ' . json_encode(helper::baseUrl(false)) . ';';
|
||||||
$vars .= 'var baseUrlQs = ' . json_encode(helper::baseUrl()) . ';';
|
$vars .= 'var baseUrl = ' . json_encode(helper::baseUrl()) . ';';
|
||||||
if (
|
if (
|
||||||
$this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')
|
$this->getUser('password') === $this->getInput('ZWII_USER_PASSWORD')
|
||||||
and $this->getUser('group') >= self::GROUP_MODERATOR
|
and $this->getUser('group') >= self::GROUP_MODERATOR
|
||||||
|
Loading…
Reference in New Issue
Block a user