From 74fe998db986219326300b3b1f1d0117e7e294e6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 14 Mar 2004 11:35:33 +0000 Subject: [PATCH] php.net recommend this for security reasons, it should be our default too --- phpgwapi/inc/class.setup_process.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpgwapi/inc/class.setup_process.inc.php b/phpgwapi/inc/class.setup_process.inc.php index 9c298ff703..9c7f8d3b91 100644 --- a/phpgwapi/inc/class.setup_process.inc.php +++ b/phpgwapi/inc/class.setup_process.inc.php @@ -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);