diff --git a/admin/admin.db b/admin/admin.db index 46efa58..d2d23c8 100644 Binary files a/admin/admin.db and b/admin/admin.db differ diff --git a/classesphp/mapa_googlemaps.php b/classesphp/mapa_googlemaps.php index 1854cb4..8566d47 100644 --- a/classesphp/mapa_googlemaps.php +++ b/classesphp/mapa_googlemaps.php @@ -351,6 +351,8 @@ if(trim($_GET["TIPOIMAGEM"]) != "" && trim($_GET["TIPOIMAGEM"]) != "nenhum"){ else{ if($cache == true){ $nomer = salvaCacheImagem(); + carregaCacheImagem(); + /* if($_SESSION["i3georendermode"] == 2){ ob_clean(); header('Cache-Control: public, max-age=22222222'); @@ -362,13 +364,11 @@ else{ ob_clean(); header('Content-Length: '.filesize($nomer)); header('Content-Type: image/png'); - //header('Cache-Control: max-age=3600, must-revalidate'); - //header('Expires: ' . gmdate('D, d M Y H:i:s', time()+24*60*60) . ' GMT'); - //header('Last-Modified: '.gmdate('D, d M Y H:i:s', filemtime($nomer)).' GMT', true, 200); header('Cache-Control: public, max-age=22222222'); header('Expires: ' . gmdate('D, d M Y H:i:s', time()+48*60*60) . ' GMT'); fpassthru(fopen($nomer, 'rb')); } + */ } else{ if($_SESSION["i3georendermode"] == 0){ -- libgit2 0.21.2