webbukkit/DynmapCore — pull request #7 by mback2k (2012-04-28 17:55:04+00:00)
Title: PHP code cleanup and fixes to JSON file parsing

Hello everyone,

I just started using Dynmap v0.37 on my Minecraft Server and noticed that there are some mistakes in file paths that do not match the actually generated files.

On my server the following standalone JSON files are generated:
dynmap_config.json, dynmap_world.json, dynmap_world_nether.json, dynmap_world_the_end.json

The current version of DynmapCore expects them with a .php file extension instead of .json and for the update files it expects them to start with update_ instead of dynmap_.

I hope that these changes are actually lining up with the current version of v0.37 or the development of v0.38.

I also fixed the indentation in the PHP code files to always use tabs instead of mixing them and removed the closing PHP-tag that is not required and may result in empty lines being added to the output.

Best regards