[gollem] sql backend using $conf['sql']

Markos Giannopoulos markg at apogee.gr
Thu Feb 17 06:59:11 PST 2005


Greetings to all,

i want to use gollem (latest version) with an sql backend

i used the sql example in backends.php replacing the parameters

    'params' => array(
        // The SQL connection parameters. See horde/config/conf.php for
        // descriptions of each parameter.
        'phptype' => 'mysql',
        'hostspec' => 'localhost',
        'database' => 'horde',
        'username' => 'horde',
        'password' => 'horde',

        // The SQL table containing the VFS. See the horde/scripts/db
        // directory for examples.
        'table' => 'horde_vfs'

with this

'params' => array_merge($conf['sql'], array('table' => 'horde_vfs')),

But i get this error

Undefined variable: conf

setting the related conf variables obviously make it work but this isnt a good
solution, is it? :)

thanks in advance for any help
MarkG


More information about the gollem mailing list