Browse Source

bugifx : ne pas générer un double slash dans le chemin de l'image

pull/34/head
b_b 1 year ago
parent
commit
69dd4b3669
  1. 2
      inc/staticmap.php

2
inc/staticmap.php

@ -346,7 +346,7 @@ class staticMapGis
public function mapCacheIDToFilename() {
if (!$this->mapCacheFile) {
$this->mapCacheFile = $this->mapCacheBaseDir . '/' . $this->maptype . '/' . $this->zoom . '/cache_' . substr($this->mapCacheID, 0, 2) . '/' . substr($this->mapCacheID, 2, 2) . '/' . substr($this->mapCacheID, 4);
$this->mapCacheFile = $this->mapCacheBaseDir . $this->maptype . '/' . $this->zoom . '/cache_' . substr($this->mapCacheID, 0, 2) . '/' . substr($this->mapCacheID, 2, 2) . '/' . substr($this->mapCacheID, 4);
}
return $this->mapCacheFile . '.' . $this->mapCacheExtension;
}

Loading…
Cancel
Save