[imp] how to move a custom_login.php out of ./horde/imp/scripts?
Alain Fauconnet
alain at ait.ac.th
Thu Nov 17 04:57:44 PST 2005
Replying to myself (bad, bad):
On Thu, Nov 17, 2005 at 07:49:26PM +0700, Alain Fauconnet wrote:
> I need to implement a custom login page. I have managed
> to make ./horde/imp/scripts/custom_login.php work successfully
> as follows:
(...)
> Now I want to move this script at DocumentRoot
> and rename it to index.php (and later put our
> contents in of course).
> I've changed:
> define('IMP_BASE', '<the absolute path of IMP base>');
> instead of just '..'.
> After this this, if I open http://<domain>/index.php I get the login
> form, but logging in doesn't work anymore. I get
> redirected to the standard login page.
>
> So...
> - can this script be moved out of the Horde directory tree?
> - can it be renamed? (guess so!)
> - what should I change to make it work while at DocumentRoot?
Force the value $webroot in ./horde/config/registry.php instead
of using the auto-detect code.
That did it.
Any further comment quite welcome.
Greets,
_A_
More information about the imp
mailing list