[dokuwiki] Re: git changes 2010-12-09

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 13 Dec 2010 19:09:46 +0100

> Isn't this the a more general fix?
>
> +        $addr = explode(':',$_SERVER['SERVER_NAME']);

No this doesn't change anything. The problem occurs when running a
command line script - in that case neither SERVER_NAME nor HTTP_HOST
are set because there is no HTTP environment, in that case the
DOKU_URL is set to ./ which isn't parsable with parse_url().


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

Other related posts: