[Mapbender-commits] r1824 - branches/mapbender_sld/http/sld

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Nov 22 04:43:18 EST 2007


Author: mschulz
Date: 2007-11-22 04:43:16 -0500 (Thu, 22 Nov 2007)
New Revision: 1824

Modified:
   branches/mapbender_sld/http/sld/sld_main.php
Log:
fixed: missing path separator

Modified: branches/mapbender_sld/http/sld/sld_main.php
===================================================================
--- branches/mapbender_sld/http/sld/sld_main.php	2007-11-15 16:33:39 UTC (rev 1823)
+++ branches/mapbender_sld/http/sld/sld_main.php	2007-11-22 09:43:16 UTC (rev 1824)
@@ -234,7 +234,7 @@
 echo "     <td class=\"line_left2 line_down2 line_right2 text4 bg_menu\">\n";
 
 //echo "      <form name=\"use_sld\" action=\"http://".$_SERVER["HTTP_HOST"]."/mapbender/sld/".$SLD_FUNCTION_HANDLER."\" method=post >\n";
-echo "      <form name=\"use_sld\" action=\"".$MAPBENDER_URL.$SLD_FUNCTION_HANDLER."\" method=post >\n";
+echo "      <form name=\"use_sld\" action=\"".$MAPBENDER_URL."/".$SLD_FUNCTION_HANDLER."\" method=post >\n";
 echo "      <input type=\"hidden\" name=\"function\" value=\"usesld\">\n";
 echo "      <input type=\"hidden\" name=\"sld_url\" value=\"".$sld_url."\">\n";
 echo "      <input type=\"hidden\" name=\"mb_sld_url\" value=\"".$mb_sld_url."\">\n";
@@ -256,7 +256,7 @@
 echo "     <td class=\"line_left2 line_down2 line_right2 text1 bg_menu\" style=\"padding:3px;\">\n";
 
 //echo "      <form id=\"sld_editor_form\" action=\"http://".$_SERVER["HTTP_HOST"]."/mapbender/sld/".$SLD_FUNCTION_HANDLER."\" method=post >\n";
-echo "      <form id=\"sld_editor_form\" action=\"".$MAPBENDER_URL.$SLD_FUNCTION_HANDLER."\" method=post >\n";
+echo "      <form id=\"sld_editor_form\" action=\"".$MAPBENDER_URL."/".$SLD_FUNCTION_HANDLER."\" method=post >\n";
 
 echo "      <a href='".$SLD_FUNCTION_HANDLER."?function=getdefaultsld' onclick='if(!confirm(\"Aktuelle SLD-Definition ersetzen?\")) return false;'>\n";
 echo "      <img src='./img/script.png' border='0' alt='Standard SLD aus WMS auslesen'>\n";



More information about the Mapbender_commits mailing list