From: Andrew Dolgov Date: Mon, 25 Mar 2013 08:34:53 +0000 (+0400) Subject: localized_js didn't use sessions X-Git-Tag: 1.7.6~310 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=90856743c3f792594fb6b69e7caef03aa960331e;p=tt-rss.git localized_js didn't use sessions --- 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) {