From 5d1a991981330342805f4ee84df76266a91f98ef Mon Sep 17 00:00:00 2001 From: ovclas Date: Mon, 5 Mar 2012 09:47:53 +0000 Subject: [PATCH] issue 1224 apply httponly attribute to PHPSESSID git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10322 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- config/config.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.inc.php b/config/config.inc.php index 137997cfd..570f5aa13 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -6,6 +6,7 @@ **/ @error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED); + @ini_set('session.cookie_httponly', 1); if(!defined('__ZBXE__')) exit();