Commit 53ac5003dce605bdbb76a1ebc8150d6ff2440480

Authored by Edmar Moretti
1 parent a3345514

--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 }