[dokuwiki] enhanced getBaseURL() patch

Hi,

I encountered a problem with getBaseURL() (located in inc/init.php)
while I was writing a plugin that uses ajax - DOKU_BASE pointed to the
plugin-directory (which is normal because the ajax.php is called
directly). Instead of setting DOKU_BASE by "hand" in the ajax.php I
assume to modify getBaseURL() accordingly to handle this special case
automatically. I attached a patch (patched against current darcs version
all patches applied) - it is just another preg_replace, like the one used
to handle scripts in lib/exe.

Cheers
Michael

-- 
Michael Klier

mail:   chi@xxxxxxxxxxx
www:    http://www.chimeric.de
icq:    206179334
jabber: chi@xxxxxxxxxxxxx
key:    http://www.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: