mapserver/mapserver — pull request #4470 by faegi (2012-09-24 12:41:36+00:00)
Title: Enable file based empty templates

Currently, the EMPTY templates may point to an url only. This request enables this template to be a file, too and summarizes a few calls into a new function msReturnPageOrUrl. Existing code was changed only under the condition that both cases - file and url as templates - were already handled. However, in comparison to the current state, the content-type will be set additionally.