[horde] check if the user was login
Peter Mueller
peter.mueller at freelinks.ch
Thu Apr 22 08:48:00 PDT 2004
ok, it works. the problem is, that after we change the webroot to ''
$this->applications['horde'] = array(
'fileroot' => dirname(__FILE__) . '/..',
'webroot' => '',
the url must include the horde-session. how we can change this, that we don't
need to put in every url the horde_session-variable?
with regards
peter
Zitat von Jan Schneider <jan at horde.org>:
> Zitat von Peter Mueller <peter.mueller at freelinks.ch>:
>
> > 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:
>
> Why not?
>
> > 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)
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - Neue Wege des Lernens
> http://www.tip4all.de - Deine private Tippgemeinschaft
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
More information about the horde
mailing list