[dokuwiki] Re: Configuration plugin problem

Hi Chris,

thanks. Now it works just fine.

Regards,
Danny Trommer

Chris Smith wrote:
Danny Trommer wrote:
Hi,

it still doesn't work. Now it opens:
http://localhost/doku.php?id=welcome&do=admin&page=config
instead of
http://localhost/doku.php?id=welcome&do=admin&page=config

Regards,
Danny Trommer

Chris Smith wrote:

- modify the redirect url towards the end of the handle() function code block...


header("Location: ".wl($ID,'do=admin&page=config'));

Cheers,

Chris
PS. Sorry Andi, it took me three goes to get a four line patch right :-) Mondays!



Hi Danny,

Thanks for being patient. I don't run a non-rewritten url wiki, so thanks also for being the guinea pig.

Can you try this for the header line?

header("Location: ".str_replace('&','&',wl($ID,'do=admin&page=config')));

Patch sent to Andi. But you may want to hold off pushing it until Danny confirms everything is ok.

Cheers,

Chris

-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: