Commit 1092bedf42f8cef382713b046adae9f6dfc1d1a8

Authored by Edmar Moretti
1 parent f6b0e7fa

--no commit message

Showing 2 changed files with 5 additions and 3 deletions   Show diff stats
testainstal.php
@@ -390,7 +390,9 @@ catch(ee) @@ -390,7 +390,9 @@ catch(ee)
390 } 390 }
391 } 391 }
392 } 392 }
393 - 393 + echo "<br>O arquivo mapfile de iniciliza&ccedil;&atilde;o &eacute;: $f<br>\n";
  394 + echo "<br><b>E agora..desenhando o mapa (se o mapa n&atilde;o aparecer &eacute; um problema...\nverifique os caminhos no ms_configura.php e no $f):</b>\n";
  395 + echo "<br>Criando o objeto com ms_newMapObj...";
394 $mapa = ms_newMapObj($f); 396 $mapa = ms_newMapObj($f);
395 397
396 for($i=0;$i<($mapa->numlayers);$i++) 398 for($i=0;$i<($mapa->numlayers);$i++)
@@ -402,8 +404,7 @@ catch(ee) @@ -402,8 +404,7 @@ catch(ee)
402 } 404 }
403 } 405 }
404 406
405 - echo "<br>O arquivo mapfile de iniciliza&ccedil;&atilde;o &eacute;: $f<br>\n";  
406 - echo "<br><b>E agora..desenhando o mapa (se o mapa n&atilde;o aparecer &eacute; um problema...\nverifique os caminhos no ms_configura.php e no $f):</b>\n"; 407 +
407 $imgo = @$mapa->draw(); 408 $imgo = @$mapa->draw();
408 $nome = ($imgo->imagepath)."teste.png"; 409 $nome = ($imgo->imagepath)."teste.png";
409 echo "<p>Nome da imagem gerada: $nome </p>"; 410 echo "<p>Nome da imagem gerada: $nome </p>";
testamapfile.php
@@ -88,6 +88,7 @@ if ($tipo == &quot;&quot;) @@ -88,6 +88,7 @@ if ($tipo == &quot;&quot;)
88 echo 'i3GEO.configura.locaplic = i3GEO.util.protocolo() + "://" + window.location.host + "/i3geo";'; 88 echo 'i3GEO.configura.locaplic = i3GEO.util.protocolo() + "://" + window.location.host + "/i3geo";';
89 echo '</script>'; 89 echo '</script>';
90 echo '<script src="admin/js/core.js"></script>'; 90 echo '<script src="admin/js/core.js"></script>';
  91 + echo '<script src="admin/dicionario/core.js"></script>';
91 echo '</head>'; 92 echo '</head>';
92 echo '<body class=" yui-skin-sam" style="background: white;"><center>'; 93 echo '<body class=" yui-skin-sam" style="background: white;"><center>';
93 echo '<div class="bordaSuperior" >&nbsp;</div>'; 94 echo '<div class="bordaSuperior" >&nbsp;</div>';