freebsd-ports/www/horde2/files/patch-ab
Thierry Thomas 7c9d180767 Upgrading to Horde 2.2.5.
The full list of changes (from version 2.2.4) can be viewed here:
<http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.207.2.86&r2=1.207.2.91&ty=h>.

PR:		ports/63947.
Submitted by:	maintainer.
Approved by:	mat (mentor).
2004-03-16 22:20:32 +00:00

58 lines
2.5 KiB
Text

--- config/horde.php.dist.orig Tue Oct 14 18:52:31 2003
+++ config/horde.php.dist Mon Mar 8 21:43:56 2004
@@ -94,7 +94,7 @@
// What backend should we use for authenticating users to Horde? Valid
// options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp', 'smb',
// 'krb5' and 'radius'.
-$conf['auth']['driver'] = '';
+$conf['auth']['driver'] = 'imap';
// An array holding any parameters that the Auth object will need to
// function correctly.
@@ -159,7 +159,7 @@
// (meaning use system defaults and don't save any user preferences),
// 'session' (preferences only persist during the login), 'ldap',
// and 'sql'.
-$conf['prefs']['driver'] = 'none';
+$conf['prefs']['driver'] = 'sql';
// Any parameters that the preferences driver needs. This includes
// database or ldap server, username/password to connect with, etc.
@@ -168,12 +168,12 @@
// This is an example configuration for a MySQL preference backend.
// The SQL script to setup the preference database is placed in
// horde/scripts/db/prefs.sql.
-// $conf['prefs']['params']['phptype'] = 'mysql';
-// $conf['prefs']['params']['hostspec'] = 'localhost';
-// $conf['prefs']['params']['username'] = 'horde';
-// $conf['prefs']['params']['password'] = '*****';
-// $conf['prefs']['params']['database'] = 'horde';
-// $conf['prefs']['params']['table'] = 'horde_prefs';
+$conf['prefs']['params']['phptype'] = 'mysql';
+$conf['prefs']['params']['hostspec'] = 'localhost';
+$conf['prefs']['params']['username'] = 'hordemgr';
+$conf['prefs']['params']['password'] = 'hordemgr';
+$conf['prefs']['params']['database'] = 'horde';
+$conf['prefs']['params']['table'] = 'horde_prefs';
// This is an example configuration for an LDAP preference backend.
// The schemas needed for ldap are in horde/scripts/ldap. For more
@@ -225,7 +225,7 @@
// want to use the '-oi' argument so that sendmail does not interpret a
// single '.' in the body of a message as the end of input.
// $conf['mailer']['params'] = array(
-// 'sendmail_path' => '/usr/lib/sendmail',
+// 'sendmail_path' => '/usr/sbin/sendmail',
// 'sendmail_args' => '-oi'
// );
@@ -350,3 +350,9 @@
// Should we use DHTML to display a floating menu of Horde appliation
// links, instead of a frame?
$conf['menu']['floating_bar'] = false;
+
+/* Which users should be treated as administrators (root, super-user)
+ * by Horde? Example: $conf['auth']['admins'] = array('admin', 'john');
+ * N.B.: 'admin' is used by Jonah to fetch the news.
+ */
+$conf['auth']['admins'] = array('admin');