forked from ZwiiCMS-Team/ZwiiCMS
Merge branch '10303' into editeur
This commit is contained in:
commit
088cd6fc69
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
## version 10.3.03
|
## version 10.3.03
|
||||||
- Correction :
|
- Correction :
|
||||||
- Test incomplet dans le module de routage
|
- Doublons de lignes.
|
||||||
|
|
||||||
## version 10.3.02
|
## version 10.3.02
|
||||||
- Corrections :
|
- Corrections :
|
||||||
|
|
|
@ -1797,7 +1797,7 @@ class core extends common {
|
||||||
}
|
}
|
||||||
// Check l'accès à la page
|
// Check l'accès à la page
|
||||||
$access = null;
|
$access = null;
|
||||||
if($this->getData(['page', $this->getUrl(0)]) !== null)
|
if($this->getData(['page', $this->getUrl(0)]) !== null) {
|
||||||
if(
|
if(
|
||||||
$this->getData(['page', $this->getUrl(0), 'group']) === self::GROUP_VISITOR
|
$this->getData(['page', $this->getUrl(0), 'group']) === self::GROUP_VISITOR
|
||||||
OR (
|
OR (
|
||||||
|
@ -1808,10 +1808,7 @@ class core extends common {
|
||||||
$access = true;
|
$access = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if($this->getUrl(0) === $this->getData(['config', 'homePageId'])) {
|
||||||
if($this->getUrl(0) === 'user'
|
|
||||||
AND $this->getUrl(1) === 'login'
|
|
||||||
) {
|
|
||||||
$access = 'login';
|
$access = 'login';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -1880,7 +1877,7 @@ class core extends common {
|
||||||
}
|
}
|
||||||
// Importe le module
|
// Importe le module
|
||||||
else {
|
else {
|
||||||
// Id du module, et valeurs en sortie de la page s'il s'agit d'un module de page
|
// Id du module, et valeurs en sortie de la page si il s'agit d'un module de page
|
||||||
|
|
||||||
if($access AND $this->getData(['page', $this->getUrl(0), 'moduleId'])) {
|
if($access AND $this->getData(['page', $this->getUrl(0), 'moduleId'])) {
|
||||||
$moduleId = $this->getData(['page', $this->getUrl(0), 'moduleId']);
|
$moduleId = $this->getData(['page', $this->getUrl(0), 'moduleId']);
|
||||||
|
|
Loading…
Reference in New Issue