forked from ZwiiCMS-Team/ZwiiCMS
10303 routage
This commit is contained in:
parent
339241383f
commit
107c41f409
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## version 10.3.03
|
||||||
|
- Correction :
|
||||||
|
- Test incomplet dans le module de routage
|
||||||
|
|
||||||
## version 10.3.02
|
## version 10.3.02
|
||||||
- Correction :
|
- Correction :
|
||||||
- Icône de pied de page github manquante.
|
- Icône de pied de page github manquante.
|
||||||
|
@ -39,7 +39,7 @@ class common {
|
|||||||
const ACCESS_TIMER = 1800;
|
const ACCESS_TIMER = 1800;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.3.02';
|
const ZWII_VERSION = '10.3.03';
|
||||||
const ZWII_UPDATE_CHANNEL = "v10";
|
const ZWII_UPDATE_CHANNEL = "v10";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
@ -1742,7 +1742,8 @@ class core extends common {
|
|||||||
$access = null;
|
$access = null;
|
||||||
$accessInfo['userName'] = '';
|
$accessInfo['userName'] = '';
|
||||||
$accessInfo['pageId'] = '';
|
$accessInfo['pageId'] = '';
|
||||||
if($this->getData(['page', $this->getUrl(0)]) !== null) {
|
if($this->getData(['page', $this->getUrl(0)]) !== null
|
||||||
|
OR $this->getData(['page', $this->getUrl(2)]) !== NULL) { // Page Redirection éviter une valeur nulle
|
||||||
if(
|
if(
|
||||||
$this->getData(['page', $this->getUrl(0), 'group']) === self::GROUP_VISITOR
|
$this->getData(['page', $this->getUrl(0), 'group']) === self::GROUP_VISITOR
|
||||||
OR (
|
OR (
|
||||||
@ -1761,7 +1762,6 @@ class core extends common {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contrôle si la page demandée est en édition ou accès à la gestion du site
|
* Contrôle si la page demandée est en édition ou accès à la gestion du site
|
||||||
* conditions de blocage :
|
* conditions de blocage :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user