php.net recommend this for security reasons, it should be our default too

This commit is contained in:
Ralf Becker 2004-03-14 11:35:33 +00:00
parent f95cad3c1b
commit 74fe998db9

View File

@ -213,6 +213,9 @@
$GLOBALS['current_config']['tz_offset'] = $datetime->getbestguess();
unset($datetime);
// RalfBecker: php.net recommend this for security reasons, it should be our default too
$GLOBALS['current_config']['usecookies'] = 'True';
foreach($GLOBALS['current_config'] as $setting => $value)
{
$setting = $GLOBALS['phpgw_setup']->db->db_addslashes($setting);