imp-cvs && turba && Auth::getAuth method
Edwin Chiu
Edwin.Chiu@e-wares.com
Sun, 12 Aug 2001 13:06:32 -0400
Hi,
I can't seem to get turba to save new contacts as non-public or "private"
contacts. I'm guessing the problems is that the "owner_id" field in the
record never gets added, since Auth::getAuth() returns false.
Any hints on how to get this to work?
I did the following (to no avail):
imp/templates/mailbox/header.inc:
<%
include_once HORDE_BASE . '/lib/Auth.php';
%>
<?php if (Auth::getAuth()): ?>
<font color=#c0c0c0><b>Auth: </b></font><%=Auth::getAuth() %>
<?php endif; ?>
I get the following error for the above entry:
Fatal error: Undefined class name 'auth' in
/home/www/apps/horde-cvs/imp/templates/mailbox/header.inc on line 29
Line 29 is: <?php if (Auth::getAuth()): ?>
horde/config/registry.php:
$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';
I'm using the following:
Horde-CVS
IMP-CVS
Postgresql-7.1.2
Apache 1.3.20
PHP 4.0.6 + PEAR from CVS
Thanks,
Edwin