The old school way of course. $db = new DATABASE_CONFIG(); $db->ldap['domain'];
Don't worry, it won't actually cause any problems. On Sep 14, 3:43 am, gloop <[email protected]> wrote: > Hello, > > i program a LDAP login. We have several domains and its pretty when i > have only one location for the ldap data. > > var $ldap = array( > 'datasource' => 'ldap', > 'host' => 'xx.xx', > 'port' => xx, > 'base_dn' => 'dc=xx,dc=xx,dc=xx', > 'domain' => array('Domain1', 'Domain2', 'Domain3') > ); > > Is it possible to get the array 'domain' in my login template? > > Big thanks. > > gloop -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
