[turba] Patch for Turba?
Chris Shepherd
CShepherd at rogers.com
Fri Dec 13 21:23:19 PST 2002
Hi,
I'd like to submit this patch for review and possible inclusion in
CVS. This is the first time I'm submitting a patch, so I'm not sure of
whatever submission format I need to submit things in. If you could
point me in the right direction, I would greatly appreciate it.
All the patch does is modify sources.php.dist to utilize horde's
default sql connection in the localsql example. I left the old example
in there for clarity on how you can modify the config to suit your
needs, but the practical use for probably all but the largest
implementations would be to use horde's configuration (the defaults are
almost identical for both examples).
Chris Shepherd
Index: sources.php.dist
===================================================================
RCS file: /repository/turba/config/sources.php.dist,v
retrieving revision 1.47
diff -r1.47 sources.php.dist
143,148c143,163
< 'phptype' => 'mysql',
< 'hostspec' => 'localhost',
< 'username' => 'horde',
< 'password' => '*****',
< 'database' => 'horde',
< 'table' => 'turba_objects'
---
> /*
> * The default connection details are pulled from the horde-wide SQL
> * connection configuration.
> *
> * The old example illustrates how to use an alternate configuration.
> */
> // New Example:
> 'phptype' => $conf['sql']['phptype'],
> 'hostspec' => $conf['sql']['hostspec'],
> 'username' => $conf['sql']['username'],
> 'password' => $conf['sql']['password'],
> 'database' => $conf['sql']['database'],
> 'table' => 'turba_objects'
>
> // Old Example:
> // 'phptype' => 'mysql',
> // 'hostspec' => 'localhost',
> // 'username' => 'horde',
> // 'password' => '*****',
> // 'database' => 'horde',
> // 'table' => 'turba_objects'
More information about the turba
mailing list