Possiale fix for link()

This commit is contained in:
jengo 2001-03-09 01:03:32 +00:00
parent ee94089549
commit e06637e4b7

View File

@ -127,7 +127,7 @@
{ {
if (getenv(REQUEST_METHOD) != 'POST' && !isset($PHP_AUTH_USER)) if (getenv(REQUEST_METHOD) != 'POST' && !isset($PHP_AUTH_USER))
{ {
$phpgw->redirect($phpgw->link('','code=5')); $phpgw->redirect($phpgw->link('/login.php','code=5'));
} }
$sessionid = $phpgw->session->create($login,$passwd); $sessionid = $phpgw->session->create($login,$passwd);
if (! isset($sessionid) || ! $sessionid) if (! isset($sessionid) || ! $sessionid)