]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
avoid stomping on inline's rootpage sub if it's not already present
authorJoey Hess <joey@kitenet.net>
Thu, 24 Mar 2011 21:55:03 +0000 (17:55 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 24 Mar 2011 21:55:03 +0000 (17:55 -0400)
commitf39d02583abee54d1c7792dcc171db6bba226091
tree30bb727a99d85a674d8fd42080ae8119151f80b6
parent9f7f12809041ab70fdde1f9695d450c64b1ca675
avoid stomping on inline's rootpage sub if it's not already present

If the inline plugin is not being loaded, or is perhaps loaded after po
(when IkiWiki::Setup::getsetup loads all the plugins, for example),
po should not inject its custom rootpage sub, as that will lead to a
redefinition error message when inline loads.
IkiWiki/Plugin/po.pm