[horde] check if the user was login
Peter Mueller
peter.mueller at freelinks.ch
Thu Apr 22 08:24:30 PDT 2004
hello
we make another application that should work with horde. which are the lines
that i must put in the top of the script, to check if the user haved login
with correct username/password?
this example doesn't work:
define('IMP_BASE', dirname(__FILE__).'/');
require_once IMP_BASE . '/lib/base.php';
if (!Auth::getAuth())
{
header("Location: http://domain.com");
exit;
}
with regards
peter
(version: horde 2.2.4, imp 3.2.2)
More information about the horde
mailing list