[dev] Circular dependency in Perms:: constructor

John Morrissey jwm at horde.net
Wed Jan 21 18:41:23 PST 2004


There's a circular dependency on line 50 of Perms.php:

Horde::fatal(sprintf(_("You must configure a DataTree backend to use %s."),
$GLOBALS['registry']->getParam('name')), __FILE__, __LINE__);

Perms is instantiated in Registry::'s constructor, so this results in a
fatal error instead of a Horde error.

john
-- 
John Morrissey          _o            /\         ----  __o
jwm at horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__


More information about the dev mailing list