mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-23 05:40:30 +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__) . '/../');
|
@ini_set('open_basedir', dirname(__FILE__) . '/../');
|
||||||
|
@ini_set('session.cookie_httponly', TRUE);
|
||||||
session_start();
|
|
||||||
|
|
||||||
require_once(dirname(__FILE__) . '/converter.php');
|
require_once(dirname(__FILE__) . '/converter.php');
|
||||||
require_once(dirname(__FILE__) . '/config.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';
|
$version = '1.6.5';
|
||||||
$jsver = "165";
|
$jsver = "165";
|
||||||
|
|
||||||
|
session_start();
|
||||||
|
|
||||||
function myiconv($in_enc, $out_enc, $string)
|
function myiconv($in_enc, $out_enc, $string)
|
||||||
{
|
{
|
||||||
global $_utf8win1251, $_win1251utf8;
|
global $_utf8win1251, $_win1251utf8;
|
||||||
|
Loading…
Reference in New Issue
Block a user