Commit 0d8094a2de4dabd1c22394b053d7ad0f63d44a22
1 parent
95d9137a
Exists in
master
and in
7 other branches
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 | 1233 | // |
1234 | 1234 | $extensao = ".map"; |
1235 | 1235 | if ((file_exists($locaplic."/temas/".$nome.".php")) || (file_exists($nome.".php"))){ |
1236 | - $extensao = ".php"; | |
1236 | + //$extensao = ".php"; | |
1237 | 1237 | } |
1238 | 1238 | if ((file_exists($locaplic."/temas/".$nome.".gvp")) || (file_exists($nome.".gvp"))){ |
1239 | 1239 | $extensao = ".gvp"; | ... | ... |
ms_criamapa.php
... | ... | @@ -799,10 +799,10 @@ function incluiTemasIniciais(){ |
799 | 799 | $arqtemp = $arqt; |
800 | 800 | } |
801 | 801 | if ((strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) && (file_exists($temasdir."\\".$arqt."php"))){ |
802 | - $extensao = ".php"; | |
802 | + //$extensao = ".php"; | |
803 | 803 | } |
804 | 804 | elseif (file_exists($temasdir."/".$arqt.".php")){ |
805 | - $extensao = ".php"; | |
805 | + //$extensao = ".php"; | |
806 | 806 | } |
807 | 807 | if ((strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) && (file_exists($temasdir."\\".$arqt."gvp"))){ |
808 | 808 | $extensao = ".gvp"; |
... | ... | @@ -870,8 +870,8 @@ function incluiTemasIniciais(){ |
870 | 870 | } |
871 | 871 | } |
872 | 872 | if($extensao == ".php"){ |
873 | - include_once($arqtemp); | |
874 | - eval($arqt."(\$mapn);"); | |
873 | + //include_once($arqtemp); | |
874 | + //eval($arqt."(\$mapn);"); | |
875 | 875 | } |
876 | 876 | if($extensao == ".gvp"){ |
877 | 877 | include_once($locaplic."/pacotes/gvsig/gvsig2mapfile/class.gvsig2mapfile.php"); | ... | ... |