Commit d794c3f6fb48eebd21cf55e0db29264ecbc21a96

Authored by Edmar Moretti
1 parent 6afe8e7b
Exists in master

correção no ms_criamapa.php

Showing 2 changed files with 7 additions and 7 deletions   Show diff stats
classesphp/classe_mapa.php
@@ -1233,16 +1233,16 @@ class Mapa @@ -1233,16 +1233,16 @@ class Mapa
1233 // 1233 //
1234 $extensao = ".map"; 1234 $extensao = ".map";
1235 if ((file_exists($locaplic."/temas/".$nome.".php")) || (file_exists($nome.".php"))){ 1235 if ((file_exists($locaplic."/temas/".$nome.".php")) || (file_exists($nome.".php"))){
1236 - $extensao = ".php"; 1236 + //$extensao = ".php";
1237 } 1237 }
1238 if ((file_exists($locaplic."/temas/".$nome.".gvp")) || (file_exists($nome.".gvp"))){ 1238 if ((file_exists($locaplic."/temas/".$nome.".gvp")) || (file_exists($nome.".gvp"))){
1239 $extensao = ".gvp"; 1239 $extensao = ".gvp";
1240 } 1240 }
1241 if($extensao == ".php"){ 1241 if($extensao == ".php"){
1242 //include_once($locaplic."/temas/".$nome.".php"); 1242 //include_once($locaplic."/temas/".$nome.".php");
1243 - if(function_exists($nome)){ 1243 + //if(function_exists($nome)){
1244 //eval($nome."(\$this->mapa);"); 1244 //eval($nome."(\$this->mapa);");
1245 - } 1245 + //}
1246 } 1246 }
1247 if($extensao == ".gvp"){ 1247 if($extensao == ".gvp"){
1248 if (file_exists($locaplic."/temas/".$nome.".gvp")){ 1248 if (file_exists($locaplic."/temas/".$nome.".gvp")){
ms_criamapa.php
@@ -799,10 +799,10 @@ function incluiTemasIniciais(){ @@ -799,10 +799,10 @@ function incluiTemasIniciais(){
799 $arqtemp = $arqt; 799 $arqtemp = $arqt;
800 } 800 }
801 if ((strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) && (file_exists($temasdir."\\".$arqt."php"))){ 801 if ((strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) && (file_exists($temasdir."\\".$arqt."php"))){
802 - $extensao = ".php"; 802 + //$extensao = ".php";
803 } 803 }
804 elseif (file_exists($temasdir."/".$arqt.".php")){ 804 elseif (file_exists($temasdir."/".$arqt.".php")){
805 - $extensao = ".php"; 805 + //$extensao = ".php";
806 } 806 }
807 if ((strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) && (file_exists($temasdir."\\".$arqt."gvp"))){ 807 if ((strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) && (file_exists($temasdir."\\".$arqt."gvp"))){
808 $extensao = ".gvp"; 808 $extensao = ".gvp";
@@ -870,8 +870,8 @@ function incluiTemasIniciais(){ @@ -870,8 +870,8 @@ function incluiTemasIniciais(){
870 } 870 }
871 } 871 }
872 if($extensao == ".php"){ 872 if($extensao == ".php"){
873 - include_once($arqtemp);  
874 - eval($arqt."(\$mapn);"); 873 + //include_once($arqtemp);
  874 + //eval($arqt."(\$mapn);");
875 } 875 }
876 if($extensao == ".gvp"){ 876 if($extensao == ".gvp"){
877 include_once($locaplic."/pacotes/gvsig/gvsig2mapfile/class.gvsig2mapfile.php"); 877 include_once($locaplic."/pacotes/gvsig/gvsig2mapfile/class.gvsig2mapfile.php");