[dev] Create different hooks for different vhosts
Jan Schneider
jan at horde.org
Fri May 13 20:27:23 UTC 2011
Zitat von Gonçalo Queirós <goncalo.queiros at portugalmail.net>:
> Is it possible to create different hooks for different vhosts?
>
> The only way i see to do this is to make hooks.php an empty file and
> then have every hooks-vhosts.php file to have the complete definition of
> the hooks class..
Why don't you use $_SERVER['SERVER_NAME'] right in your hook code?
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list