summaryrefslogtreecommitdiff
path: root/doc/bugs/IkiWiki::Setup::load__40____41___broken_outside_ikiwiki__63__.mdwn
blob: e1e29f0a47898858e0b5f14102b45709d1dd3a65 (plain)

Hmm, according to the docs, shouldn't the following work?

From looking at the code, it seems that a global hash %config should be initialized somehow.

This is in ikiwiki 2.62.1. I think this call used to work in 2.54 (when you first refactored the setup IIRC)

[[DavidBremner]]

Updated: It seems that %config = IkiWiki::defaultsetup();IkiWiki::Setup::load("file"); works (after use IkiWiki; use IkiWiki::Setup;). Of course the other api is nicer.

[[done]], sorry for trouble --[[Joey]]