mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fix in item load vc-public link
This commit is contained in:
parent
2f6a7143f3
commit
074fadda35
@ -1072,8 +1072,8 @@ class Item extends CachedModel
|
||||
$mobile_navigation = false;
|
||||
|
||||
if (isset($_SERVER['PHP_SELF']) === true
|
||||
&& (strstr($_SERVER['PHP_SELF'], 'mobile/') !== false
|
||||
|| strstr($_SERVER['HTTP_REFERER'], 'mobile/') !== false)
|
||||
&& (strstr(($_SERVER['PHP_SELF'] ?? ''), 'mobile/') !== false
|
||||
|| strstr(($_SERVER['HTTP_REFERER'] ?? ''), 'mobile/') !== false)
|
||||
) {
|
||||
$mobile_navigation = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user