From 90856743c3f792594fb6b69e7caef03aa960331e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 25 Mar 2013 12:34:53 +0400 Subject: [PATCH] localized_js didn't use sessions --- localized_js.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/localized_js.php b/localized_js.php index 3e1c31e5..dcb2159c 100644 --- a/localized_js.php +++ b/localized_js.php @@ -2,9 +2,8 @@ set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR . get_include_path()); - define('DISABLE_SESSIONS', true); - - require "functions.php"; + require_once "sessions.php"; + require_once "functions.php"; header("Content-Type: text/plain; charset=UTF-8"); function T_js_decl($s1, $s2) { -- 2.39.5