phpbb/phpbb3 — pull request #494 by Dickyf (2011-12-09 06:18:12+00:00)
Title: Correctly check for empty image paths

This applies to avatar_path,avatar_gallery_path,smilies_path and
upload_path.
Currently, the convertor gets each path from the config table and adds a
trailing slash. If there is no entry in the config table for the path, the
path can never be empty because of the added trailing slash. This patch
will temporarily remove the trailing slash, then check if the path is
empty.