[dev] Kronolith SQL default config patch. -- Oops
Chris Shepherd
CShepherd at rogers.com
Sat Jan 11 13:42:30 PST 2003
Jan Schneider wrote:
>This didn't look like a valid patch.
>
Here's the alternate format patch as discussed.
--
Chris Shepherd
"The early bird may get the worm, but the second mouse gets the cheese." -- Anonymous
"Eagles may soar but weasels don't get sucked into jet engines." -- Anonymous
-------------- next part --------------
Index: kronolith/config/conf.php.dist
===================================================================
RCS file: /repository/kronolith/config/conf.php.dist,v
retrieving revision 1.33
diff -u -r1.33 conf.php.dist
--- kronolith/config/conf.php.dist 4 Sep 2002 20:53:30 -0000 1.33
+++ kronolith/config/conf.php.dist 11 Jan 2003 18:48:06 -0000
@@ -32,7 +32,18 @@
$conf['calendar']['params']['username'] = '';
$conf['calendar']['params']['password'] = '';
-// This is an example configuration for an sql driver, in this case MySQL.
+/**
+ * This is an example configuration for an sql driver, in this case MySQL.
+ * The default SQL connection details are pulled from the horde-wide
+ * SQL connection configuration.
+ *
+ * The old example illustrates how to use an alternate database
+ * configuration.
+ */
+// New Example:
+//$conf['calendar']['params'] = array_merge($conf['sql'], array('table' => 'kronolith_events'));
+
+// Old Example:
// $conf['calendar']['params']['phptype'] = 'mysql';
// $conf['calendar']['params']['hostspec'] = 'localhost';
// $conf['calendar']['params']['username'] = 'horde';
More information about the dev
mailing list