[dev] Create different hooks for different vhosts
Gonçalo Queirós
goncalo.queiros at portugalmail.net
Sat May 14 10:24:23 UTC 2011
On 05/13/2011 09:27 PM, Jan Schneider wrote:
>
> 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.
>
Or that..just wondering if there were any way like prefs or confs ;)
More information about the dev
mailing list