[dev] Deny permissions

Chuck Hagenbuch chuck at horde.org
Fri May 30 07:31:08 PDT 2003


Quoting Jason Rust <jrust at rustyparts.com>:

> Ok, attached is a new version that uses get_defined_functions() to
> figure out if a hook is present.  That way it only does one look up per
> hook function.  Only problem is that the exists() method is case
> sensitive right now, so hook name of _group_hook_authUsers will not work
> since PHP passes the function name back as _group_hook_authusers.  Is it
> a problem to make the exists method case insensitive?

I don't think it is. I've committed the file - thanks!

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
The alligators were there, too, in a bathtub inside the house.



More information about the dev mailing list