Commit 0d8094a2de4dabd1c22394b053d7ad0f63d44a22

Authored by Edmar Moretti
1 parent 95d9137a

correção no ms_criamapa.php

Showing 2 changed files with 5 additions and 5 deletions   Show diff stats
classesphp/classe_mapa.php
@@ -1233,7 +1233,7 @@ class Mapa @@ -1233,7 +1233,7 @@ 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";
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");