[dokuwiki] [BUG] Dokuwiki broken after 'darcs pull'

  • From: "Timo \"Silbär\" Falk" <Timo.Falk@xxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 8 Nov 2005 09:57:11 +0100

Hi!

I have just done a 'darcs pull' an my wiki is broken :-(
I think I've found the/one reason: 
---- init.php ----
if ( defined($conf['lang']) ) {
  require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php');
}

---- snip ----

If you search the php-doku you will find:

"Note:  If you want to see if a variable exists, use isset() as defined()
only applies to constants."

Silbär
-- 
Mein Weblog: http://www.20six.de/silbaer

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

Other related posts: