Re: gollem H4 (alpha2) hostspec config
Jan Schneider <[email protected]> Tue, 04 Oct 2011 14:01:52 +0200
| Newsgroups | gmane.comp.horde.gollem |
|---|---|
| Message-ID | <[email protected]> |
Zitat von Zoltan Arpadffy <[email protected]>: > Hello, > > thank you for releasing gollem for H4. > > I was testing it during the weekend and realized that in H3 it was > easy to take over the SESSION variables to provide a single sign on > fature. > > I use IMP for authentication and later in gollem backend I reuse the > server name with the same creditials, like: > > $backends['ftp'] = array( > 'name' => 'FTP Server', > 'driver' => 'ftp', > 'preferred' => '', > 'hordeauth' => true, > 'params' => array( > // The hostname/IP Address of the FTP server > 'hostspec' => $_SESSION['imp']['server'], > // The port number of the FTP server > 'port' => 21, > ... etc > > Unfortunately, in H4 the $_SESSION['imp']['server'] does not work... > > Is there any equivalent in H4? $GLOBALS['registry']->mail->server() will get you an array with IMP's backend configuration. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ -- Gollem mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]