[horde] variables in imp/config

Michael M Slusarz slusarz at horde.org
Wed Jun 26 19:36:20 UTC 2013


Quoting Andreas Schulze <sca at andreasschulze.de>:

> Hello,
>
> I like to use somethime like $horde_name, $horde_version, $imp_name  
> and $imp_version
> in imp/config/backend.php to setup the imap id extension.

NEVER use backends.php.  Use backends.local.php.

> $servers['imap']['id']['name'] = ???
> $servers['imap']['id']['version'] = ???

I don't know what you mean by "$horde_name" or "$imp_name".

For versions of a horde application, you can use:

$GLOBALS['registry']->getVersion($app_name)

where $app_name is 'horde', 'imp', etc.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list