Commit ed2a9e9aee43c5e73b8d8338e725a62c0d1a4c3a
1 parent
f7c3e5d9
Exists in
mysqli
and in
3 other branches
Correção de redirecionamento
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
instalar/index.php
@@ -120,7 +120,7 @@ CONF | @@ -120,7 +120,7 @@ CONF | ||
120 | 120 | ||
121 | // Se a configuração foi bem sucedida, passa à próxima etapa | 121 | // Se a configuração foi bem sucedida, passa à próxima etapa |
122 | if (!$erro) { | 122 | if (!$erro) { |
123 | - header("Location: {$_POST["urlsistema"]}instalar/bd.php"); | 123 | + header("Location: $urlsistemainstalar/bd.php"); |
124 | die(); | 124 | die(); |
125 | } else { | 125 | } else { |
126 | echo "<script language='javascript'>alert('Erro na configuração do sistema: $erro.');</script>"; | 126 | echo "<script language='javascript'>alert('Erro na configuração do sistema: $erro.');</script>"; |