added php4 sessions class and added it as an option

This commit is contained in:
seek3r
2002-01-02 14:32:22 +00:00
parent 3544a46dc3
commit 70261207f3
4 changed files with 1939 additions and 983 deletions

View File

@@ -36,6 +36,14 @@
$phpgw_info['server']['db_persistent'] = {DB_PERSISTENT};
/*
** phpGroupWare can handle session management using the database, but if
** you are using PHP4 you can usually get better performance by having phpGroupWare
** use the session support built into PHP4. PHP3 users will have to use the database.
** Your choices are 'db' or 'php4'
*/
$GLOBALS['phpgw_info']['server']['sessions_type'] = '{SESSIONS_TYPE}';
/*
** If you want to have your domains in a select box, change to True
** If not, users will have to login as user@domain
@@ -86,7 +94,7 @@
$phpgw_info["server"]["versions"]["phpgwapi"] = $setup_info['phpgwapi']['version'];
$phpgw_info['server']['versions']['current_header'] = $setup_info['phpgwapi']['versions']['current_header'];
unset($setup_info);
$phpgw_info['server']['versions']['header'] = '1.18';
$phpgw_info['server']['versions']['header'] = '1.19';
/* This is a fix for NT */
if (!isset($phpgw_info['flags']['noapi']) || !$phpgw_info['flags']['noapi'] == True)
{