Set PHPSESSID cookie as HTTP-only

This commit is contained in:
Fedor A. Fetisov 2013-09-13 15:56:06 +04:00
parent 0cfb7a74f5
commit e7ae0845d8

View File

@ -16,8 +16,7 @@
*/
@ini_set('open_basedir', dirname(__FILE__) . '/../');
session_start();
@ini_set('session.cookie_httponly', TRUE);
require_once(dirname(__FILE__) . '/converter.php');
require_once(dirname(__FILE__) . '/config.php');
@ -35,6 +34,8 @@ $home_locale = locale_pattern_check($home_locale) && locale_exists($home_locale)
$version = '1.6.5';
$jsver = "165";
session_start();
function myiconv($in_enc, $out_enc, $string)
{
global $_utf8win1251, $_win1251utf8;