[imp] imp-cvs && turba && Auth::getAuth method

Edwin Chiu Edwin.Chiu@e-wares.com
Tue, 14 Aug 2001 09:44:12 -0400


I tried doing this (before the patch):

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; ?>

But I would get this error:

Fatal error: Undefined class name 'auth' in
/home/www/apps/horde-cvs/imp/templates/mailbox/header.inc on line 29

I'm not sure what else I can do....

Is there anyway I can stop the request and print out something whenever
IMP does a setAuth(...) ?

Edwin

Chuck Hagenbuch wrote:
> 
> Quoting Edwin Chiu <Edwin.Chiu@e-wares.com>:
> 
> > I already tried that, but it wasn't working... so I had to use the patch...
> 
> You really should be investigating why that wasn't working, instead of using
> the patch - it's a hack...
> 
> -chuck