Commit e66b811e3ec50c5a18054a9f80ccebca1013d123
1 parent
7343ac61
Exists in
master
and in
6 other branches
Inclusão de rotina de compactação das páginas principais
Showing
10 changed files
with
43 additions
and
6 deletions
Show diff stats
classesphp/mapa_googlemaps.php
... | ... | @@ -62,7 +62,7 @@ include ("sani_request.php"); |
62 | 62 | if (! function_exists('ms_GetVersion')) { |
63 | 63 | include_once ("carrega_ext.php"); |
64 | 64 | } |
65 | - | |
65 | +error_reporting(0); | |
66 | 66 | // verificação de segurança |
67 | 67 | ini_set("session.use_cookies", 0); |
68 | 68 | $_SESSION = array(); |
... | ... | @@ -300,7 +300,7 @@ $mapa->setsize($_GET["WIDTH"], $_GET["HEIGHT"]); |
300 | 300 | $mapext = explode(" ", $_GET["mapext"]); |
301 | 301 | $mapa->setExtent($mapext[0], $mapext[1], $mapext[2], $mapext[3]); |
302 | 302 | $o = $mapa->outputformat; |
303 | -//$o->set("imagemode", MS_IMAGEMODE_RGBA); | |
303 | +$o->set("imagemode", MS_IMAGEMODE_RGBA); | |
304 | 304 | $o->set("transparent", MS_TRUE); |
305 | 305 | $legenda = $mapa->legend; |
306 | 306 | $legenda->set("status", MS_OFF); | ... | ... |
classesphp/mapa_openlayers.php
... | ... | @@ -344,7 +344,7 @@ if (isset($_GET["REQUEST"])) { |
344 | 344 | } |
345 | 345 | } |
346 | 346 | $o = $mapa->outputformat; |
347 | -//$o->set("imagemode", MS_IMAGEMODE_RGBA); | |
347 | +$o->set("imagemode", MS_IMAGEMODE_RGBA); | |
348 | 348 | $o->set("transparent", MS_TRUE); |
349 | 349 | $legenda = $mapa->legend; |
350 | 350 | $legenda->set("status", MS_OFF); | ... | ... |
init/head.php
1 | +<?php | |
2 | +if(extension_loaded('zlib')){ | |
3 | + ob_start('ob_gzhandler'); | |
4 | +} | |
5 | +?> | |
1 | 6 | <!DOCTYPE html> |
2 | 7 | <html lang="pt-br"> |
3 | 8 | <head> |
... | ... | @@ -23,9 +28,6 @@ echo " |
23 | 28 | <link rel='stylesheet' type='text/css' href='" . ONDEI3GEO . "/pacotes/bootstrap-material-design/dist/css/ripples.min.css'> |
24 | 29 | <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> |
25 | 30 | <link href='" . ONDEI3GEO . "/pacotes/bootstrap/css/ie10-viewport-bug-workaround.css' rel='stylesheet'> |
26 | - <!-- Custom styles for this template --> | |
27 | - <link href='" . ONDEI3GEO . "/pacotes/font-awesome/css/font-awesome.min.css' rel='stylesheet'> | |
28 | - | |
29 | 31 | <link href='" . ONDEI3GEO . "/pacotes/bootstrap-accessibility-plugin/plugins/css/bootstrap-accessibility.css' rel='stylesheet'> |
30 | 32 | |
31 | 33 | <script src='" . ONDEI3GEO . "/init/headjs.php'></script>"; | ... | ... |
init/index.php
mapas/index.php
ogc/index.php
permlinks/index.php
rss/index.php
social/index.php