Commit 0697c0debed2c9315f8660b4c88e93b58d27b016
1 parent
b441c5bc
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
ms_criamapa.php
@@ -141,8 +141,8 @@ require_once ($caminho."classesphp/carrega_ext.php"); | @@ -141,8 +141,8 @@ require_once ($caminho."classesphp/carrega_ext.php"); | ||
141 | // | 141 | // |
142 | //quando $funcao existe, é pq o ms_criamapa.php está sendo utilizado como um include em classesphp/mapa_controle.php | 142 | //quando $funcao existe, é pq o ms_criamapa.php está sendo utilizado como um include em classesphp/mapa_controle.php |
143 | // | 143 | // |
144 | -//if(!isset($funcao)) | ||
145 | -//{unset($GLOBALS);} | 144 | +if(!isset($funcao)) |
145 | +{ob_clean();} | ||
146 | if (!isset($caminho)){$caminho = "";} | 146 | if (!isset($caminho)){$caminho = "";} |
147 | if (!file_exists($caminho."classesphp/carrega_ext.php")) | 147 | if (!file_exists($caminho."classesphp/carrega_ext.php")) |
148 | {echo "<b> Nao foi possivel localizar o diretório classephp. Provavelmente vc precisara definir a variavel $camino";exit;} | 148 | {echo "<b> Nao foi possivel localizar o diretório classephp. Provavelmente vc precisara definir a variavel $camino";exit;} |