forked from ZwiiCMS-Team/ZwiiCMS
remove getUrl fix
This commit is contained in:
parent
29a2524231
commit
f86eee254c
@ -561,16 +561,7 @@ class common {
|
|||||||
// Une partie de l'url
|
// Une partie de l'url
|
||||||
else {
|
else {
|
||||||
$url = explode('/', $this->url);
|
$url = explode('/', $this->url);
|
||||||
if (array_key_exists($key, $url) ) {
|
return array_key_exists($key, $url) ? $url[$key] : null;
|
||||||
if (strpos($url[$key],'fbclid=') === false) {
|
|
||||||
$result = $url[$key];
|
|
||||||
} else {
|
|
||||||
$result = $key === 0 ? $this->getData(['config','homePageId']) : '';
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
$result = null;
|
|
||||||
}
|
|
||||||
return $result;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user