mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 21:40:28 +03:00
Set PHPSESSID cookie as HTTP-only
This commit is contained in:
parent
0cfb7a74f5
commit
e7ae0845d8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user