Updated web server files
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 21 May 2008 19:05:05 +0000 (19:05 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 21 May 2008 19:05:05 +0000 (19:05 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1073 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/script/download_index.html
navit/navit/script/map_index.php

index 51ca2cf..fed33e1 100644 (file)
                                         <input type="text" name="bounds_left" class="input"></li>\r
                </form>\r
                        <li>&nbsp;</li>\r
-                       <li><input type="button" value="Get map!" onclick="javascript:download()"></li>\r
+                       <li><input type="button" class="button" value="Get map!" onclick="javascript:download()"></li>\r
         </ul>\r
     </div>\r
   </body>\r
index b71dbac..57fd0d0 100644 (file)
@@ -30,7 +30,7 @@
                $areas=array(
                        'Germany' => '5,47,16,55.1',
                );
-               $url='http://' . $HTTP_HOST . $PHP_SELF;
+               $url='http://' . $HTTP_SERVER_VARS['HTTP_HOST'] . $HTTP_SERVER_VARS['PHP_SELF'];
                echo "Use: $url?bbox=bllon,bllat,trlon,trlat <br />\n";
                echo "<br />\n";
                while (list($area,$bbox)=each($areas)) {