From 6a067d03b4adc1eeb31177921065822ed88452ba Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Sun, 22 Apr 2018 22:23:57 -0300 Subject: [PATCH] Remoção de mensagens de erros de programas php --- classesphp/mapa_controle.php | 1 + classesphp/mapa_openlayers.php | 2 +- ferramentas/safe.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/classesphp/mapa_controle.php b/classesphp/mapa_controle.php index 87d28c1..c58fc8b 100755 --- a/classesphp/mapa_controle.php +++ b/classesphp/mapa_controle.php @@ -107,6 +107,7 @@ // // pega as variaveis passadas com get ou post // +error_reporting(0); $tempo = microtime(1); include_once ("sani_request.php"); diff --git a/classesphp/mapa_openlayers.php b/classesphp/mapa_openlayers.php index a48ae99..9b9d6f5 100755 --- a/classesphp/mapa_openlayers.php +++ b/classesphp/mapa_openlayers.php @@ -59,7 +59,7 @@ include ("sani_request.php"); if (! function_exists('ms_GetVersion')) { include_once ("carrega_ext.php"); } -//error_reporting(E_ALL); +error_reporting(0); inicializa(); // // calcula a extensao geografica com base no x,y,z diff --git a/ferramentas/safe.php b/ferramentas/safe.php index 5f17179..b59475b 100755 --- a/ferramentas/safe.php +++ b/ferramentas/safe.php @@ -1,6 +1,6 @@