When setting VIRTUAL_PATH to / to run the wiki in the
site root PHPwiki currently always appends a slash to
the end. This results in ugly URLS of the form
http://www.example.com//HomePage rather than the
desired http://www.example.com/HomePage
This patch addresses the issue by simply not appending
a / if the string already ends in /.
This patch is part of our attempt to merge the WLUG
Wiki source back into PHPwiki. It originates from
http://svn.wlug.org.nz/viewcvs/trunk/lib/IniConfig.php?r1=8&r2=14&rev=14&root=wiki
Patch to prevent double slashes in URL