Commit fb79687dc3b8abafe805fd335efa415fc36fcaf8
1 parent
bc36ca77
Exists in
master
--no commit message
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
admin/php/editortexto.php
@@ -66,6 +66,8 @@ body { | @@ -66,6 +66,8 @@ body { | ||
66 | $_POST["texto"] = ""; | 66 | $_POST["texto"] = ""; |
67 | } | 67 | } |
68 | include_once(dirname(__FILE__)."/login.php"); | 68 | include_once(dirname(__FILE__)."/login.php"); |
69 | + $versao = versao(); | ||
70 | + $versao = $versao["principal"]; | ||
69 | //pega a extensao geografica | 71 | //pega a extensao geografica |
70 | if(isset($base) && $base != ""){ | 72 | if(isset($base) && $base != ""){ |
71 | if(file_exists($base)){ | 73 | if(file_exists($base)){ |
@@ -104,7 +106,6 @@ body { | @@ -104,7 +106,6 @@ body { | ||
104 | } | 106 | } |
105 | 107 | ||
106 | 108 | ||
107 | - | ||
108 | if(verificaOperacaoSessao("admin/php/editortexto") == false){ | 109 | if(verificaOperacaoSessao("admin/php/editortexto") == false){ |
109 | echo "Vc nao pode realizar essa operacao.";exit; | 110 | echo "Vc nao pode realizar essa operacao.";exit; |
110 | } | 111 | } |