]> git.wh0rd.org Git - tt-rss.git/commitdiff
localized_js didn't use sessions
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 08:34:53 +0000 (12:34 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 08:34:53 +0000 (12:34 +0400)
localized_js.php

index 3e1c31e565a0d55a50a0126683b12f2660529b94..dcb2159ca9a90e0b68e15b1bcb0cad6ad89a2414 100644 (file)
@@ -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) {