7d277f7143
PR: ports/49122 Submitted by: Thierry Thomas <thierry@pompo.net>
48 lines
1.2 KiB
Text
48 lines
1.2 KiB
Text
--- config/sources.php.dist.orig Mon Feb 10 02:14:22 2003
|
|
+++ config/sources.php.dist Tue Feb 25 21:51:29 2003
|
|
@@ -140,10 +140,11 @@
|
|
'title' => 'My Addressbook',
|
|
'type' => 'sql',
|
|
'params' => array(
|
|
+// 'phptype' => 'pgsql',
|
|
'phptype' => 'mysql',
|
|
'hostspec' => 'localhost',
|
|
- 'username' => 'horde',
|
|
- 'password' => '*****',
|
|
+ 'username' => 'hordemgr',
|
|
+ 'password' => 'hordemgr',
|
|
'database' => 'horde',
|
|
'table' => 'turba_objects'
|
|
),
|
|
@@ -181,6 +182,7 @@
|
|
* A local address book in an LDAP directory. This implements a public
|
|
* (shared) address book.
|
|
*/
|
|
+/*
|
|
$cfgSources['localldap'] = array(
|
|
'title' => 'Shared Directory',
|
|
'type' => 'ldap',
|
|
@@ -219,6 +221,7 @@
|
|
'admin' => array(),
|
|
'export' => true
|
|
);
|
|
+*/
|
|
|
|
/**
|
|
* A personal adressbook. This assumes that the login is
|
|
@@ -229,6 +232,7 @@
|
|
*/
|
|
|
|
// First we need to get the uid.
|
|
+/*
|
|
$uid = Auth::getAuth();
|
|
preg_match('/(^.*)@/', $uid, $uid);
|
|
$uid = $uid[1];
|
|
@@ -284,6 +288,7 @@
|
|
'admin' => array($uid),
|
|
'export' => true
|
|
);
|
|
+*/
|
|
|
|
/**
|
|
* A preferences-based adressbook. This will always be private. You
|