Commit 95c4c4f56ff5547758fd879e13d2a4461bd47a55
1 parent
a9aec1e7
Exists in
master
and in
7 other branches
Remoção de exit do testainstal
Showing
1 changed file
with
5 additions
and
3 deletions
Show diff stats
testainstal/index.php
... | ... | @@ -99,10 +99,11 @@ include "../init/head.php"; |
99 | 99 | $("#mensagemLogin").html(men); |
100 | 100 | </script> |
101 | 101 | <?php |
102 | + | |
102 | 103 | if(empty($_POST["senha"]) || empty($_POST["usuario"])){ |
103 | - | |
104 | 104 | //opcoes de criacao de pastas |
105 | 105 | if (strtoupper(substr(PHP_OS, 0, 3) != 'WIN')){ |
106 | + | |
106 | 107 | $d = dirname(dirname(__FILE__)); |
107 | 108 | echo <<<HTML |
108 | 109 | <div class="alert alert-danger" role="alert"> |
... | ... | @@ -145,7 +146,7 @@ echo <<<HTML |
145 | 146 | </script> |
146 | 147 | HTML; |
147 | 148 | } |
148 | - exit; | |
149 | + //exit; | |
149 | 150 | } |
150 | 151 | else{ |
151 | 152 | $continua = verificaMaster($_POST["usuario"],$_POST["senha"],$i3geomaster); |
... | ... | @@ -158,7 +159,8 @@ HTML; |
158 | 159 | exit; |
159 | 160 | } |
160 | 161 | } |
161 | - //error_reporting(0); | |
162 | + | |
163 | + error_reporting(E_ALL); | |
162 | 164 | $ip = "UNKNOWN"; |
163 | 165 | if (getenv("HTTP_CLIENT_IP")) $ip = getenv("HTTP_CLIENT_IP"); |
164 | 166 | else if(getenv("HTTP_X_FORWARDED_FOR")) $ip = getenv("HTTP_X_FORWARDED_FOR"); | ... | ... |