forked from extern/egroupware
php.net recommend this for security reasons, it should be our default too
This commit is contained in:
parent
f95cad3c1b
commit
74fe998db9
@ -213,6 +213,9 @@
|
|||||||
$GLOBALS['current_config']['tz_offset'] = $datetime->getbestguess();
|
$GLOBALS['current_config']['tz_offset'] = $datetime->getbestguess();
|
||||||
unset($datetime);
|
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)
|
foreach($GLOBALS['current_config'] as $setting => $value)
|
||||||
{
|
{
|
||||||
$setting = $GLOBALS['phpgw_setup']->db->db_addslashes($setting);
|
$setting = $GLOBALS['phpgw_setup']->db->db_addslashes($setting);
|
||||||
|
Loading…
Reference in New Issue
Block a user