Commit 6a067d03b4adc1eeb31177921065822ed88452ba
1 parent
0aa75565
Exists in
master
and in
6 other branches
Remoção de mensagens de erros de programas php
Showing
3 changed files
with
3 additions
and
2 deletions
Show diff stats
classesphp/mapa_controle.php
@@ -107,6 +107,7 @@ | @@ -107,6 +107,7 @@ | ||
107 | // | 107 | // |
108 | // pega as variaveis passadas com get ou post | 108 | // pega as variaveis passadas com get ou post |
109 | // | 109 | // |
110 | +error_reporting(0); | ||
110 | $tempo = microtime(1); | 111 | $tempo = microtime(1); |
111 | 112 | ||
112 | include_once ("sani_request.php"); | 113 | include_once ("sani_request.php"); |
classesphp/mapa_openlayers.php
@@ -59,7 +59,7 @@ include ("sani_request.php"); | @@ -59,7 +59,7 @@ include ("sani_request.php"); | ||
59 | if (! function_exists('ms_GetVersion')) { | 59 | if (! function_exists('ms_GetVersion')) { |
60 | include_once ("carrega_ext.php"); | 60 | include_once ("carrega_ext.php"); |
61 | } | 61 | } |
62 | -//error_reporting(E_ALL); | 62 | +error_reporting(0); |
63 | inicializa(); | 63 | inicializa(); |
64 | // | 64 | // |
65 | // calcula a extensao geografica com base no x,y,z | 65 | // calcula a extensao geografica com base no x,y,z |
ferramentas/safe.php
1 | <?php | 1 | <?php |
2 | include_once (dirname(__FILE__)."/../classesphp/sani_request.php"); | 2 | include_once (dirname(__FILE__)."/../classesphp/sani_request.php"); |
3 | - | 3 | +error_reporting(0); |
4 | $_GET = array_merge($_GET,$_POST); | 4 | $_GET = array_merge($_GET,$_POST); |
5 | // | 5 | // |
6 | //$fingerprint e usado para verificar se o usuario veio do i3geo | 6 | //$fingerprint e usado para verificar se o usuario veio do i3geo |