[dev] Gollem

Michael M Slusarz slusarz at horde.org
Thu Aug 21 16:13:37 UTC 2008


Quoting Jacques Beaudoin <jacques-beaudoin at cspi.qc.ca>:

> Hi,
>
> I would like to put the following codes of backends.php in a function.
>
> $backends['test'] = array(
>     'name' => 'test',
>     'driver' => 'ftp',
>     'preferred' => '',
>     'hordeauth' => true,
>     'params' => array(
>     'hostspec' => '10.220.12.167',
>     'port' => 21,
>     'pasv' => false,
>     'timeout' => 90,
>     ),
>     'loginparams' => array(),
>     'permissions' => '',
>     'quota' => false,
>     'clipboard' => true,
>     'attributes' => array('name', 'download', 'modified', 'size')
> );
>
>
> tried different coding but can't get it to work

I don't understand completely.  What needs to be put into a function,  
how/where are you calling the function, and what does the function  
need to return?

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list