Re: [Phplib-users] two different log-In forms
Brought to you by:
nhruby,
richardarcher
|
From: Guenther T. <th...@eq...> - 2002-11-06 16:43:03
|
Michael Chaney <mdc...@mi...> schrieb:
> I think the best solution is to separate them into subdomains.
Thanks.
I've solved the problem already with Benjamin's help.
He gave me the hint to patch page.inc:
*** page.inc.orig
--- page.inc
***************
*** 22,28 ****
if (isset($feature["auth"])) {
global $auth;
! if (!isset($auth)) {
$auth = new $feature["auth"];
}
$auth->start();
--- 22,28 ----
if (isset($feature["auth"])) {
global $auth;
! if (!isset($auth) || ($auth->classname != $feature["auth"])) {
$auth = new $feature["auth"];
}
$auth->start();
and just use a differnt auth in page_open().
Now everything just works fine. :-)
Regards
Guenther
--
eqi - Neue Medien http://www.eqi.de
Kampmann & Theilen GbR mailto:th...@eq...
Lahnstr. 1 Tel: 04931 / 930 971
26506 Norden Fax: 04931 / 930 972
|