карта сайта

This commit is contained in:
Konstantin
2026-06-01 17:21:43 +03:00
parent dc947f50f5
commit b250f38d42
3 changed files with 29 additions and 30 deletions
+4
View File
@@ -90,6 +90,10 @@ class ModelLocalisationZone extends Model {
public function getZoneUrl($zone_id, $url) {
$zone = $this->getZone($zone_id);
return $this->getZoneUrlByZone($zone, $url);
}
public function getZoneUrlByZone($zone, $url) {
if (!$zone) {
return $url;
}