[horde] Trailer Text per instance

Michael J Rubinsky mrubinsk at horde.org
Mon Mar 13 16:23:36 UTC 2017


Quoting David Cunningham <dcunningham at additionnetworks.net>:

> Hi All,
>
> I am having a hard time figuring out the syntax of a hooks-url.php

The correct syntax is hooks-servername.php. However, I don't remember  
off-hand if hooks are handled this way since the file is a class  
definition. You may have to just use $conf['server']['name] or  
something from the $_SERVER super global and add some logic to the  
trailer hook.


> entry to set the trailer text based on the url being used.  For  
> example, I need one url to have no trailer added, one url to have  
> one text added and another to have a different text added.
>
> Thanks for your help!
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3282 bytes
Desc: S/MIME Signature
URL: <https://lists.horde.org/archives/horde/attachments/20170313/51976686/attachment-0001.bin>


More information about the horde mailing list