forked from ZwiiCMS-Team/ZwiiCMS
parent
bfde3e6be9
commit
6bbb602f6f
@ -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 baseUrl = ' . json_encode(helper::baseUrl()) . ';';
|
$vars .= 'var baseUrlQs = ' . 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