[imp] adding realm in IMP5
    Michael M Slusarz 
    slusarz at horde.org
       
    Wed Aug 15 20:30:09 UTC 2012
    
    
  
Quoting Andrew Morgan <morgan at orst.edu>:
> However, what I really need to do is lookup the realm on the fly.   
> Is there some session parameter I can use as a key to lookup the  
> $servers entry?
In IMP 5+, you can do this:
$servers = IMP_Imap::loadServerConfig([$server]);
where $server = the server entry you want to load from backends[.local].php
If $server is omitted, all of the server entries will be returned.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
    
    
More information about the imp
mailing list