[horde] composite driver example?

Vilius Sumskas vilius at lnk.lt
Tue May 18 08:47:04 PDT 2004


Cituojama Chuck Hagenbuch <chuck at horde.org>:

> Quoting Vilius Sumskas <vilius at lnk.lt>:
>
>> After some digging I found that $this->_drivers in composite.php 
>> returns blank array. Is this an issue? Or indeed my configuration is 
>> butched.
>
> Do a php -l conf.php; it sounds like you have a parse error somewhere.

Ok. This time I have a simple one:

$conf['auth']['params']['loginscreen_switch'] = '_horde_select_loginscreen';

if (!function_exists('_horde_select_loginscreen')) {
    function _horde_select_loginscreen() {
       return 'imp';
    }
}

$conf['auth']['driver'] = 'composite';
$conf['auth']['params']['drivers']['email']['driver'] = 'application';
$conf['auth']['params']['drivers']['email']['params'] = array('app' => 'imp');


And I get:

Notice: Undefined index: imp in 
/usr/share/pear/Horde/Auth/composite.php on line
290

php -l conf.php says there is no syntax error.

--
    Vilius





More information about the horde mailing list