little fix from dave hall

This commit is contained in:
Lars Kneschke 2003-10-11 13:26:01 +00:00
parent 5fb17b08f6
commit ec9e4e621e

View File

@ -29,7 +29,9 @@
function sessions()
{
$this->sessions_();
//controls the time out for php4 sessions - skwashd 18-May-2003
//respect the config option for cookies
ini_set('session.use_cookies', $GLOBALS['phpgw_info']['server']['usecookies']);
//controls the time out for php4 sessions - skwashd 18-May-2003
ini_set('session.gc_maxlifetime', $GLOBALS['phpgw_info']['server']['sessions_timeout']);
define('PHPGW_PHPSESSID', ini_get('session.name'));
}