Commit 9439220bb1ca23004270468057628d4117810b7b

Authored by Edmar Moretti
1 parent a54c2cc1

$1

admin/admin.db
No preview for this file type
classesphp/mapa_googlemaps.php
... ... @@ -351,6 +351,8 @@ if(trim($_GET["TIPOIMAGEM"]) != "" && trim($_GET["TIPOIMAGEM"]) != "nenhum"){
351 351 else{
352 352 if($cache == true){
353 353 $nomer = salvaCacheImagem();
  354 + carregaCacheImagem();
  355 + /*
354 356 if($_SESSION["i3georendermode"] == 2){
355 357 ob_clean();
356 358 header('Cache-Control: public, max-age=22222222');
... ... @@ -362,13 +364,11 @@ else{
362 364 ob_clean();
363 365 header('Content-Length: '.filesize($nomer));
364 366 header('Content-Type: image/png');
365   - //header('Cache-Control: max-age=3600, must-revalidate');
366   - //header('Expires: ' . gmdate('D, d M Y H:i:s', time()+24*60*60) . ' GMT');
367   - //header('Last-Modified: '.gmdate('D, d M Y H:i:s', filemtime($nomer)).' GMT', true, 200);
368 367 header('Cache-Control: public, max-age=22222222');
369 368 header('Expires: ' . gmdate('D, d M Y H:i:s', time()+48*60*60) . ' GMT');
370 369 fpassthru(fopen($nomer, 'rb'));
371 370 }
  371 + */
372 372 }
373 373 else{
374 374 if($_SESSION["i3georendermode"] == 0){
... ...