[dev] Circular dependency in Perms:: constructor
Chuck Hagenbuch
chuck at horde.org
Wed Jan 21 19:17:53 PST 2004
Quoting John Morrissey <jwm at horde.net>:
> 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.
I'm going to change it to just say Horde; better ideas are welcome.
-chuck
--
Charles Hagenbuch, <chuck at horde.org>
"Here, I brought some cole slaw. It's made from peeeooople! Just kidding."
More information about the dev
mailing list