[dokuwiki] enhanced getBaseURL() patch
- From: Michael Klier <chi@xxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 29 May 2006 17:53:02 +0200
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
- Follow-Ups:
- [dokuwiki] Re: enhanced getBaseURL() patch
- From: Michael Klier
Other related posts:
- » [dokuwiki] enhanced getBaseURL() patch
- » [dokuwiki] Re: enhanced getBaseURL() patch
- [dokuwiki] Re: enhanced getBaseURL() patch
- From: Michael Klier